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:
committed by
Kristian Rietveld
parent
1fd7ddbd0b
commit
d52077d68d
@ -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>
|
2002-11-02 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.c (effective_handle_position):
|
* gtk/gtkhandlebox.c (effective_handle_position):
|
||||||
|
|||||||
@ -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>
|
2002-11-02 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.c (effective_handle_position):
|
* gtk/gtkhandlebox.c (effective_handle_position):
|
||||||
|
|||||||
@ -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>
|
2002-11-02 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.c (effective_handle_position):
|
* gtk/gtkhandlebox.c (effective_handle_position):
|
||||||
|
|||||||
@ -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>
|
2002-11-02 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.c (effective_handle_position):
|
* gtk/gtkhandlebox.c (effective_handle_position):
|
||||||
|
|||||||
@ -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>
|
2002-11-02 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.c (effective_handle_position):
|
* gtk/gtkhandlebox.c (effective_handle_position):
|
||||||
|
|||||||
@ -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>
|
2002-11-02 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.c (effective_handle_position):
|
* gtk/gtkhandlebox.c (effective_handle_position):
|
||||||
|
|||||||
@ -1830,7 +1830,6 @@ gtk_tree_model_sort_set_model (GtkTreeModelSort *tree_model_sort,
|
|||||||
GType *types;
|
GType *types;
|
||||||
gint i, n_columns;
|
gint i, n_columns;
|
||||||
|
|
||||||
g_object_ref (tree_model_sort->child_model);
|
|
||||||
tree_model_sort->changed_id =
|
tree_model_sort->changed_id =
|
||||||
g_signal_connect (child_model, "row_changed",
|
g_signal_connect (child_model, "row_changed",
|
||||||
G_CALLBACK (gtk_tree_model_sort_row_changed),
|
G_CALLBACK (gtk_tree_model_sort_row_changed),
|
||||||
|
|||||||
Reference in New Issue
Block a user