diff options
author | Benjamin Otte <otte@redhat.com> | 2013-05-30 20:01:33 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2013-05-30 20:01:33 +0200 |
commit | 1e8640f294f788fa0716d4ac65669f97b3ad3d20 (patch) | |
tree | 3b1732059e88b8352f2a686d6cb4241722846387 /tests/testgtk.c | |
parent | 4e50596b37eb6747656c24fc53ed42c88e798cf5 (diff) | |
download | gtk+-1e8640f294f788fa0716d4ac65669f97b3ad3d20.tar.gz |
testgtk: Disable deprecations when using old functions
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r-- | tests/testgtk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index 096cff4bd6..f3f8038a4f 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -7740,6 +7740,7 @@ window_controls (GtkWidget *window) control_window); gtk_box_pack_end (GTK_BOX (vbox), button, FALSE, FALSE, 0); + G_GNUC_BEGIN_IGNORE_DEPRECATIONS; button = gtk_button_new_with_label ("Reshow with initial size"); g_signal_connect_object (button, "clicked", @@ -7747,6 +7748,7 @@ window_controls (GtkWidget *window) window, G_CONNECT_SWAPPED); gtk_box_pack_end (GTK_BOX (vbox), button, FALSE, FALSE, 0); + G_GNUC_END_IGNORE_DEPRECATIONS; button = gtk_button_new_with_label ("Queue resize"); g_signal_connect_object (button, |