summaryrefslogtreecommitdiff
path: root/gtk/gtktreemodel.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-03-02 00:49:32 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-03-02 00:49:32 +0000
commit193bed18960d15ba75d9caccbbce15b2b60625a0 (patch)
tree793f048090b9cde07b01017fbe86c280ce002580 /gtk/gtktreemodel.c
parentaddeb140ec47ae641e9ae9fecb2e2cb3fd9d71da (diff)
downloadgtk+-193bed18960d15ba75d9caccbbce15b2b60625a0.tar.gz
Move handling of buttons fully in gtktreeviewcolumn. This code is less
Thu Mar 1 19:50:56 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button): Move handling of buttons fully in gtktreeviewcolumn. This code is less interrelated then it was, but it still requires the GtkTreeView to map it. * test/testtreecolumn.c: Now I can add a column to one view, remove it, add it to the another view, remove it, then re-add it to the first. Nifty.
Diffstat (limited to 'gtk/gtktreemodel.c')
-rw-r--r--gtk/gtktreemodel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c
index 052eddb3c0..5b55cd0dec 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -1277,7 +1277,7 @@ gtk_tree_row_reference_new_proxy (GObject *proxy,
refs = g_new (RowRefList, 1);
refs->list = NULL;
- if (model == proxy)
+ if (G_OBJECT (model) == proxy)
connect_ref_callbacks (model);
g_object_set_data_full (G_OBJECT (proxy),