summaryrefslogtreecommitdiff
path: root/tests/testtreeedit.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-13 23:22:33 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-13 23:22:33 +0000
commit37278865e17dc4fe7583511c30c3570fdfcf68d1 (patch)
tree350d1a0693ba94c3a0ff3b99f51b6c6640cd394a /tests/testtreeedit.c
parentaa54cfeede6e16fcde760a417a1c81da04ac8a0c (diff)
downloadgdk-pixbuf-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/testtreeedit.c')
-rw-r--r--tests/testtreeedit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testtreeedit.c b/tests/testtreeedit.c
index 2b8f114cc..f10d3883e 100644
--- a/tests/testtreeedit.c
+++ b/tests/testtreeedit.c
@@ -117,7 +117,7 @@ main (gint argc, gchar **argv)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "GtkTreeView editing sample");
- gtk_signal_connect (GTK_OBJECT (window), "destroy", gtk_main_quit, NULL);
+ g_signal_connect (window, "destroy", gtk_main_quit, NULL);
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window), GTK_SHADOW_ETCHED_IN);
@@ -144,7 +144,7 @@ main (gint argc, gchar **argv)
"text", STRING_COLUMN,
"editable", IS_EDITABLE_COLUMN,
NULL);
- g_signal_connect (G_OBJECT (renderer), "edited",
+ g_signal_connect (renderer, "edited",
G_CALLBACK (edited), tree_model);
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (column, renderer, TRUE);
@@ -152,7 +152,7 @@ main (gint argc, gchar **argv)
"text", STRING_COLUMN,
"editable", IS_EDITABLE_COLUMN,
NULL);
- g_signal_connect (G_OBJECT (renderer), "edited",
+ g_signal_connect (renderer, "edited",
G_CALLBACK (edited), tree_model);
renderer = gtk_cell_renderer_pixbuf_new ();
@@ -162,7 +162,7 @@ main (gint argc, gchar **argv)
gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view), column);
renderer = gtk_cell_renderer_toggle_new ();
- g_signal_connect (G_OBJECT (renderer), "toggled",
+ g_signal_connect (renderer, "toggled",
G_CALLBACK (toggled), tree_model);
g_object_set (G_OBJECT (renderer),