remove the second ref command on the child_model, we only have to ref it

Sat Nov  2 23:48:52 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove
        the second ref command on the child_model, we only have to ref it
        once here. (#96851, reported by Jorn Baayen).
This commit is contained in:
Kristian Rietveld 2002-11-02 22:34:58 +00:00 committed by Kristian Rietveld
parent 1fd7ddbd0b
commit d52077d68d
7 changed files with 36 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Sat Nov 2 23:48:52 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove
the second ref command on the child_model, we only have to ref it
once here. (#96851, reported by Jorn Baayen).
2002-11-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhandlebox.c (effective_handle_position):

View File

@ -1,3 +1,9 @@
Sat Nov 2 23:48:52 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove
the second ref command on the child_model, we only have to ref it
once here. (#96851, reported by Jorn Baayen).
2002-11-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhandlebox.c (effective_handle_position):

View File

@ -1,3 +1,9 @@
Sat Nov 2 23:48:52 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove
the second ref command on the child_model, we only have to ref it
once here. (#96851, reported by Jorn Baayen).
2002-11-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhandlebox.c (effective_handle_position):

View File

@ -1,3 +1,9 @@
Sat Nov 2 23:48:52 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove
the second ref command on the child_model, we only have to ref it
once here. (#96851, reported by Jorn Baayen).
2002-11-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhandlebox.c (effective_handle_position):

View File

@ -1,3 +1,9 @@
Sat Nov 2 23:48:52 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove
the second ref command on the child_model, we only have to ref it
once here. (#96851, reported by Jorn Baayen).
2002-11-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhandlebox.c (effective_handle_position):

View File

@ -1,3 +1,9 @@
Sat Nov 2 23:48:52 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove
the second ref command on the child_model, we only have to ref it
once here. (#96851, reported by Jorn Baayen).
2002-11-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhandlebox.c (effective_handle_position):

View File

@ -1830,7 +1830,6 @@ gtk_tree_model_sort_set_model (GtkTreeModelSort *tree_model_sort,
GType *types;
gint i, n_columns;
g_object_ref (tree_model_sort->child_model);
tree_model_sort->changed_id =
g_signal_connect (child_model, "row_changed",
G_CALLBACK (gtk_tree_model_sort_row_changed),