summaryrefslogtreecommitdiff
path: root/gtk/gtktreemodel.c
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2002-04-01 20:40:58 +0000
committerKristian Rietveld <kristian@src.gnome.org>2002-04-01 20:40:58 +0000
commit3089666944ddbc1fab1dac25e7531ed1e4a16c8b (patch)
tree9e14b0105769ffb694ad0760c2251d354c909834 /gtk/gtktreemodel.c
parent048657a13e65e25b0439e511383030760431a4bc (diff)
downloadgdk-pixbuf-3089666944ddbc1fab1dac25e7531ed1e4a16c8b.tar.gz
add check for y > tree_view->priv->height (fixes #76974)
Mon Apr 1 22:20:24 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add check for y > tree_view->priv->height (fixes #76974) Mon Apr 1 22:19:39 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get the stamp changes right this time Mon Apr 1 22:13:24 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only disconnect the ref callbacks when model == proxy (Thanks go to Manuel Clos Crespo for the remote debugging)
Diffstat (limited to 'gtk/gtktreemodel.c')
-rw-r--r--gtk/gtktreemodel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c
index 9749a4ddb..e516b9760 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -1677,7 +1677,9 @@ gtk_tree_row_reference_free (GtkTreeRowReference *reference)
if (refs->list == NULL)
{
- disconnect_ref_callbacks (reference->model);
+ if (G_OBJECT (reference->model) == reference->proxy)
+ disconnect_ref_callbacks (reference->model);
+
g_object_set_data (G_OBJECT (reference->proxy),
ROW_REF_DATA_STRING,
NULL);