summaryrefslogtreecommitdiff
path: root/gtk/gtkcellview.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-03-13 23:01:49 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-03-13 23:01:49 +0000
commita636145685031760ae8200316135b0a45caa7efe (patch)
tree7cb4b6dff74e74443d351fb611f29ccbc41d6bf9 /gtk/gtkcellview.c
parentf6d1307a016fabcb2b39d258aa476d4d71ea9755 (diff)
downloadgtk+-a636145685031760ae8200316135b0a45caa7efe.tar.gz
Support the model-less use of GtkCellView shown in testcombo.c.
Sun Mar 14 00:03:18 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcellview.c (gtk_cell_view_expose): Support the model-less use of GtkCellView shown in testcombo.c.
Diffstat (limited to 'gtk/gtkcellview.c')
-rw-r--r--gtk/gtkcellview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index c0efb0c1b3..f38b53c9ea 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -437,7 +437,7 @@ gtk_cell_view_expose (GtkWidget *widget,
g_object_unref (G_OBJECT (gc));
}
- if (!cellview->priv->displayed_row)
+ if (cellview->priv->model && !cellview->priv->displayed_row)
return FALSE;
/* set cell data */