forked from AuroraMiddleware/gtk
unref the model after the last use, not before.
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the model after the last use, not before.
This commit is contained in:
parent
91698f9a70
commit
5759992c98
@ -1,3 +1,8 @@
|
||||
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
|
||||
model after the last use, not before.
|
||||
|
||||
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
|
||||
model after the last use, not before.
|
||||
|
||||
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
|
||||
model after the last use, not before.
|
||||
|
||||
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
|
||||
model after the last use, not before.
|
||||
|
||||
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
|
||||
model after the last use, not before.
|
||||
|
||||
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
|
||||
model after the last use, not before.
|
||||
|
||||
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
|
||||
model after the last use, not before.
|
||||
|
||||
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
|
||||
|
@ -1640,8 +1640,6 @@ gtk_tree_row_reference_free (GtkTreeRowReference *reference)
|
||||
ROW_REF_DATA_STRING,
|
||||
NULL);
|
||||
}
|
||||
g_object_unref (reference->proxy);
|
||||
g_object_unref (reference->model);
|
||||
|
||||
if (reference->path)
|
||||
{
|
||||
@ -1649,6 +1647,8 @@ gtk_tree_row_reference_free (GtkTreeRowReference *reference)
|
||||
gtk_tree_path_free (reference->path);
|
||||
}
|
||||
|
||||
g_object_unref (reference->proxy);
|
||||
g_object_unref (reference->model);
|
||||
g_free (reference);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user