summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-05-30 20:01:33 +0200
committerBenjamin Otte <otte@redhat.com>2013-05-30 20:01:33 +0200
commit1e8640f294f788fa0716d4ac65669f97b3ad3d20 (patch)
tree3b1732059e88b8352f2a686d6cb4241722846387 /tests/testgtk.c
parent4e50596b37eb6747656c24fc53ed42c88e798cf5 (diff)
downloadgtk+-1e8640f294f788fa0716d4ac65669f97b3ad3d20.tar.gz
testgtk: Disable deprecations when using old functions
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c2
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,