summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-03-08 16:36:17 +0000
committerTim Janik <timj@src.gnome.org>2001-03-08 16:36:17 +0000
commit06718ecfed1751854486e5c4fbc3d1e0c3d37e00 (patch)
tree0ad1633064fa415789e235ea6877867f7f20a9c3 /tests
parent23f37e311dd112b8eaaaaf1a563d239fb8817d62 (diff)
downloadgdk-pixbuf-06718ecfed1751854486e5c4fbc3d1e0c3d37e00.tar.gz
added accumulator data argument to g_signal_newc() functions.
Thu Mar 8 16:51:21 2001 Tim Janik <timj@gtk.org> * *.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.
Diffstat (limited to 'tests')
-rw-r--r--tests/treestoretest.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/treestoretest.c b/tests/treestoretest.c
index 688054ba3..710954ba5 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");