forked from AuroraMiddleware/gtk
x11: Set GDK_PIXBUF_ENABLE_BACKEND before including files
Otherwise we get an undefined gdk_pixbuf_set_option().
This commit is contained in:
parent
206b41c6f6
commit
e0d7da3c8c
@ -26,15 +26,16 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
/* needs to be first because any header might include gdk-pixbuf.h otherwise */
|
||||||
|
#define GDK_PIXBUF_ENABLE_BACKEND
|
||||||
|
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||||
|
|
||||||
#include "gdkcursor.h"
|
#include "gdkcursor.h"
|
||||||
|
|
||||||
#include "gdkprivate-x11.h"
|
#include "gdkprivate-x11.h"
|
||||||
#include "gdkdisplay-x11.h"
|
#include "gdkdisplay-x11.h"
|
||||||
#include "gdkx.h"
|
#include "gdkx.h"
|
||||||
|
|
||||||
#define GDK_PIXBUF_ENABLE_BACKEND
|
|
||||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/cursorfont.h>
|
#include <X11/cursorfont.h>
|
||||||
#ifdef HAVE_XCURSOR
|
#ifdef HAVE_XCURSOR
|
||||||
|
Loading…
Reference in New Issue
Block a user