diff options
author | Manish Singh <yosh@gimp.org> | 2002-10-13 23:22:33 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2002-10-13 23:22:33 +0000 |
commit | 37278865e17dc4fe7583511c30c3570fdfcf68d1 (patch) | |
tree | 350d1a0693ba94c3a0ff3b99f51b6c6640cd394a /tests/testtreeflow.c | |
parent | aa54cfeede6e16fcde760a417a1c81da04ac8a0c (diff) | |
download | gtk+-37278865e17dc4fe7583511c30c3570fdfcf68d1.tar.gz |
Deprecation cleanup
Sun Oct 13 16:20:41 2002 Manish Singh <yosh@gimp.org>
* tests/pixbuf-randomly-modified.c tests/prop-editor.c
tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c
tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c
tests/testselection.c tests/testsocket.c tests/testsocket_common.c
tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c
tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c
tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c
tests/treestoretest.c: Deprecation cleanup
* tests/Makefile.am: Added disable deprecation flags
Diffstat (limited to 'tests/testtreeflow.c')
-rw-r--r-- | tests/testtreeflow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c index 306fd5b91b..50abad7407 100644 --- a/tests/testtreeflow.c +++ b/tests/testtreeflow.c @@ -113,7 +113,7 @@ main (int argc, char *argv[]) path = gtk_tree_path_new_from_string ("80"); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (window), "Reflow test"); - gtk_signal_connect (GTK_OBJECT (window), "destroy", gtk_main_quit, NULL); + g_signal_connect (window, "destroy", gtk_main_quit, NULL); vbox = gtk_vbox_new (FALSE, 8); gtk_container_set_border_width (GTK_CONTAINER (vbox), 8); gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Incremental Reflow Test"), FALSE, FALSE, 0); @@ -143,8 +143,8 @@ main (int argc, char *argv[]) button = gtk_button_new_with_mnemonic ("<b>_Futz!!</b>"); gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0); gtk_label_set_use_markup (GTK_LABEL (GTK_BIN (button)->child), TRUE); - g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (futz), NULL); - g_signal_connect (G_OBJECT (button), "realize", G_CALLBACK (gtk_widget_grab_focus), NULL); + g_signal_connect (button, "clicked", G_CALLBACK (futz), NULL); + g_signal_connect (button, "realize", G_CALLBACK (gtk_widget_grab_focus), NULL); gtk_window_set_default_size (GTK_WINDOW (window), 300, 400); gtk_widget_show_all (window); g_timeout_add (1000, (GSourceFunc) futz, NULL); |