mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
tools: Work with deprecated APIs
We want to screenshot deprecated widgets, so we'd better not fail when using them.
This commit is contained in:
parent
8e4a45eb12
commit
0333ed97fe
@ -1,5 +1,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#define GDK_DISABLE_DEPRECATION_WARNINGS
|
||||||
|
#undef GTK_DISABLE_DEPRECATED
|
||||||
|
|
||||||
#include <gtk/gtkunixprint.h>
|
#include <gtk/gtkunixprint.h>
|
||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user