From 06718ecfed1751854486e5c4fbc3d1e0c3d37e00 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Thu, 8 Mar 2001 16:36:17 +0000 Subject: added accumulator data argument to g_signal_newc() functions. Thu Mar 8 16:51:21 2001 Tim Janik * *.c: added accumulator data argument to g_signal_newc() functions. * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): * gtk/gtktreeview.c (gtk_tree_view_setup_model): * gtk/treestoretest.c (make_window): s/g_signal_connect/g_signal_connectc/. * gtk/gtktextbuffer.c: completed signal arg fixups, they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag. --- tests/treestoretest.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests/treestoretest.c') diff --git a/tests/treestoretest.c b/tests/treestoretest.c index 688054ba3b..710954ba5a 100644 --- a/tests/treestoretest.c +++ b/tests/treestoretest.c @@ -273,10 +273,10 @@ make_window (gint view_type) /* buttons */ button = gtk_button_new_with_label ("gtk_tree_store_remove"); gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0); - g_signal_connect (G_OBJECT (selection), - "selection_changed", - selection_changed, - button); + g_signal_connectc (G_OBJECT (selection), + "selection_changed", + selection_changed, + button, FALSE); gtk_signal_connect (GTK_OBJECT (button), "clicked", iter_remove, tree_view); gtk_widget_set_sensitive (button, FALSE); @@ -293,19 +293,19 @@ make_window (gint view_type) button = gtk_button_new_with_label ("gtk_tree_store_insert_before"); gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0); gtk_signal_connect (GTK_OBJECT (button), "clicked", iter_insert_before, tree_view); - g_signal_connect (G_OBJECT (selection), - "selection_changed", - selection_changed, - button); + g_signal_connectc (G_OBJECT (selection), + "selection_changed", + selection_changed, + button, FALSE); gtk_widget_set_sensitive (button, FALSE); button = gtk_button_new_with_label ("gtk_tree_store_insert_after"); gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0); gtk_signal_connect (GTK_OBJECT (button), "clicked", iter_insert_after, tree_view); - g_signal_connect (GTK_OBJECT (selection), - "selection_changed", - selection_changed, - button); + g_signal_connectc (GTK_OBJECT (selection), + "selection_changed", + selection_changed, + button, FALSE); gtk_widget_set_sensitive (button, FALSE); button = gtk_button_new_with_label ("gtk_tree_store_prepend"); -- cgit v1.2.1