[gtk+] testgtk: Disable deprecations when using old functions



commit 1e8640f294f788fa0716d4ac65669f97b3ad3d20
Author: Benjamin Otte <otte redhat com>
Date:   Thu May 30 20:01:33 2013 +0200

    testgtk: Disable deprecations when using old functions

 tests/testgtk.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 096cff4..f3f8038 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]