mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
don't copy tree paths when emitting signals. (#325041, Matthias Clasen).
2006-01-23 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.c (gtk_tree_model_base_init): don't copy tree paths when emitting signals. (#325041, Matthias Clasen).
This commit is contained in:
parent
6d5767caf3
commit
a3ad6f6965
@ -1,3 +1,8 @@
|
||||
2006-01-23 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_base_init): don't copy
|
||||
tree paths when emitting signals. (#325041, Matthias Clasen).
|
||||
|
||||
2006-01-23 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* gtk/gtklabel.c (get_layout_location): Fix misalignment of RTL
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-01-23 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_base_init): don't copy
|
||||
tree paths when emitting signals. (#325041, Matthias Clasen).
|
||||
|
||||
2006-01-23 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* gtk/gtklabel.c (get_layout_location): Fix misalignment of RTL
|
||||
|
@ -137,12 +137,12 @@ gtk_tree_model_base_init (gpointer g_class)
|
||||
GType row_deleted_params[1];
|
||||
GType rows_reordered_params[3];
|
||||
|
||||
row_inserted_params[0] = GTK_TYPE_TREE_PATH;
|
||||
row_inserted_params[0] = GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE;
|
||||
row_inserted_params[1] = GTK_TYPE_TREE_ITER;
|
||||
|
||||
row_deleted_params[0] = GTK_TYPE_TREE_PATH;
|
||||
row_deleted_params[0] = GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE;
|
||||
|
||||
rows_reordered_params[0] = GTK_TYPE_TREE_PATH;
|
||||
rows_reordered_params[0] = GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE;
|
||||
rows_reordered_params[1] = GTK_TYPE_TREE_ITER;
|
||||
rows_reordered_params[2] = G_TYPE_POINTER;
|
||||
|
||||
@ -154,7 +154,7 @@ gtk_tree_model_base_init (gpointer g_class)
|
||||
NULL, NULL,
|
||||
_gtk_marshal_VOID__BOXED_BOXED,
|
||||
G_TYPE_NONE, 2,
|
||||
GTK_TYPE_TREE_PATH,
|
||||
GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE,
|
||||
GTK_TYPE_TREE_ITER);
|
||||
|
||||
/* We need to get notification about structure changes
|
||||
@ -189,7 +189,7 @@ gtk_tree_model_base_init (gpointer g_class)
|
||||
NULL, NULL,
|
||||
_gtk_marshal_VOID__BOXED_BOXED,
|
||||
G_TYPE_NONE, 2,
|
||||
GTK_TYPE_TREE_PATH,
|
||||
GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE,
|
||||
GTK_TYPE_TREE_ITER);
|
||||
|
||||
closure = g_closure_new_simple (sizeof (GClosure), NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user