x11: Set GDK_PIXBUF_ENABLE_BACKEND before including files

Otherwise we get an undefined gdk_pixbuf_set_option().
This commit is contained in:
Benjamin Otte 2010-10-18 18:19:17 +02:00
parent 206b41c6f6
commit e0d7da3c8c

View File

@ -26,15 +26,16 @@
#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 "gdkprivate-x11.h"
#include "gdkdisplay-x11.h"
#include "gdkx.h"
#define GDK_PIXBUF_ENABLE_BACKEND
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#ifdef HAVE_XCURSOR