summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-06-05 18:51:52 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-06-05 18:51:52 +0000
commit192c1756f6d47866d74cf667eaa56a6c2ff94715 (patch)
tree132f331b4a4849ed9bb11eaf3f0c7ef91cf6b166 /tests/testgtk.c
parent8fd5c30b2fff090657936686d5c18d95157f4b4d (diff)
downloadgtk+-192c1756f6d47866d74cf667eaa56a6c2ff94715.tar.gz
Deprecate gtk_widget_set().
Mon Jun 4 12:41:25 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.h: Deprecate gtk_widget_set(). * tests/testgtk.c (create_tooltips): Remove usage of gtk_widget_set().
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 956392ae48..5f3611f1ac 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2635,14 +2635,14 @@ create_tooltips (void)
"ContextHelp/buttons/?");
- gtk_widget_set (g_object_connect (tips_query,
- "signal::widget_entered", tips_query_widget_entered, toggle,
- "signal::widget_selected", tips_query_widget_selected, NULL,
- NULL),
- "visible", TRUE,
- "parent", box3,
- "caller", button,
- NULL);
+ g_object_set (g_object_connect (tips_query,
+ "signal::widget_entered", tips_query_widget_entered, toggle,
+ "signal::widget_selected", tips_query_widget_selected, NULL,
+ NULL),
+ "visible", TRUE,
+ "parent", box3,
+ "caller", button,
+ NULL);
frame = gtk_widget_new (gtk_frame_get_type (),
"label", "ToolTips Inspector",