diff options
author | Benjamin Otte <otte@redhat.com> | 2011-06-09 06:20:42 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-06-09 06:20:42 +0200 |
commit | 6114b06b3b3f5e11f5a6e03f93c3929ebf9d79b6 (patch) | |
tree | b8f34247712e1c647ebcc5ace7fbe550bb0aac99 /tests/testgtk.c | |
parent | 2fd625d19105196021b2d0bd842405bebc6d2fc7 (diff) | |
download | gtk+-6114b06b3b3f5e11f5a6e03f93c3929ebf9d79b6.tar.gz |
testgtk: Fix deprecation
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r-- | tests/testgtk.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index e68648589a..005d575603 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -5046,10 +5046,7 @@ create_cursors (GtkWidget *widget) NULL); g_object_set_data (G_OBJECT (spinner), "user_data", label); - any = - g_object_new (gtk_hseparator_get_type (), - "GtkWidget::visible", TRUE, - NULL); + any = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start (GTK_BOX (main_vbox), any, FALSE, TRUE, 0); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); |