summaryrefslogtreecommitdiff
path: root/tests/testtreecolumns.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-06-07 22:33:14 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-06-07 22:33:14 +0000
commit59444d85e3abd3c9f8b1c1c27fdd67c4b716e723 (patch)
tree6ed58080028180d36b7d400f95795b630a91099f /tests/testtreecolumns.c
parent10b868ebaea6ec4599e8fa7649b887fc329fcd1b (diff)
downloadgtk+-59444d85e3abd3c9f8b1c1c27fdd67c4b716e723.tar.gz
Now it's a GObject instead of a GtkObject. The
Thu Jun 7 18:25:42 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeselection.c: Now it's a GObject instead of a GtkObject. The GtkTreeSelection::selection_changed signal is now the GtkTreeSelection::changed signal. * gtk/gtktreeview.c: Modified to deal with new GtkTreeSelection object. * tests/gtktree*.c: Modified to deal with new GtkTreeSelection object.
Diffstat (limited to 'tests/testtreecolumns.c')
-rw-r--r--tests/testtreecolumns.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/testtreecolumns.c b/tests/testtreecolumns.c
index 7c9c788307..f61208b812 100644
--- a/tests/testtreecolumns.c
+++ b/tests/testtreecolumns.c
@@ -603,15 +603,15 @@ main (int argc, char *argv[])
button = gtk_button_new_with_label ("<<");
gtk_widget_set_sensitive (button, FALSE);
gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (add_left_clicked), top_right_tree_view);
- gtk_signal_connect (GTK_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (top_right_tree_view))),
- "selection-changed", GTK_SIGNAL_FUNC (selection_changed), button);
+ g_signal_connectc (G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (top_right_tree_view))),
+ "changed", GTK_SIGNAL_FUNC (selection_changed), button, FALSE);
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 0);
button = gtk_button_new_with_label (">>");
gtk_widget_set_sensitive (button, FALSE);
gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (add_right_clicked), top_right_tree_view);
- gtk_signal_connect (GTK_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (left_tree_view))),
- "selection-changed", GTK_SIGNAL_FUNC (selection_changed), button);
+ g_signal_connectc (G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (left_tree_view))),
+ "changed", GTK_SIGNAL_FUNC (selection_changed), button, FALSE);
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 0);
bbox = gtk_vbutton_box_new ();
@@ -622,15 +622,15 @@ main (int argc, char *argv[])
button = gtk_button_new_with_label ("<<");
gtk_widget_set_sensitive (button, FALSE);
gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (add_left_clicked), bottom_right_tree_view);
- gtk_signal_connect (GTK_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (bottom_right_tree_view))),
- "selection-changed", GTK_SIGNAL_FUNC (selection_changed), button);
+ g_signal_connectc (G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (bottom_right_tree_view))),
+ "changed", GTK_SIGNAL_FUNC (selection_changed), button, FALSE);
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 0);
button = gtk_button_new_with_label (">>");
gtk_widget_set_sensitive (button, FALSE);
gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (add_right_clicked), bottom_right_tree_view);
- gtk_signal_connect (GTK_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (left_tree_view))),
- "selection-changed", GTK_SIGNAL_FUNC (selection_changed), button);
+ g_signal_connectc (G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (left_tree_view))),
+ "changed", GTK_SIGNAL_FUNC (selection_changed), button, FALSE);
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 0);