diff options
author | Benjamin Otte <otte@redhat.com> | 2011-11-09 03:22:19 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-11-09 03:23:43 +0100 |
commit | 0333ed97fe01815559bbb882a4cc2696e255a804 (patch) | |
tree | adab635ed15bd63d1d8a02c2c67124a5bc080193 /docs | |
parent | 8e4a45eb124088bd35cc4b28f6203a96cac801e2 (diff) | |
download | gtk+-0333ed97fe01815559bbb882a4cc2696e255a804.tar.gz |
tools: Work with deprecated APIs
We want to screenshot deprecated widgets, so we'd better not fail when
using them.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tools/widgets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index 6731ef0143..949a35a3d9 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -1,5 +1,8 @@ #include "config.h" +#define GDK_DISABLE_DEPRECATION_WARNINGS +#undef GTK_DISABLE_DEPRECATED + #include <gtk/gtkunixprint.h> #include <gdk/gdkkeysyms.h> #include <X11/Xatom.h> |