summaryrefslogtreecommitdiff
path: root/tests/testfontselectiondialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-01 22:14:45 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-11-01 22:14:45 -0400
commit9b0011be92c61436c5003332ca3a4ff17ce34717 (patch)
tree9e1f220a58339921822106230b37087ef3fe1d20 /tests/testfontselectiondialog.c
parent2a9932cf02e5a996e85fc190ebb35d4641f0bcea (diff)
downloadgtk+-9b0011be92c61436c5003332ca3a4ff17ce34717.tar.gz
Don't use *_DISABLE_DEPRECATED
Instead of undefining the DISABLE_DEPRECATED guards, define the GDK_DISABLE_DEPRECATION_WARNING macro where needed. Also replace INCLUDES by AM_CPPFLAGS to shut up automake.
Diffstat (limited to 'tests/testfontselectiondialog.c')
-rw-r--r--tests/testfontselectiondialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testfontselectiondialog.c b/tests/testfontselectiondialog.c
index 96f8652c73..9429c54944 100644
--- a/tests/testfontselectiondialog.c
+++ b/tests/testfontselectiondialog.c
@@ -19,7 +19,7 @@
#include "config.h"
-#undef GTK_DISABLE_DEPRECATED
+#define GDK_DISABLE_DEPRECATION_WARNINGS
#include <gtk/gtk.h>