Include gdk.h from preview.h instead of gdkpixbuf.h
authorDana Jansens <danakj@orodu.net>
Sun, 18 Aug 2013 00:55:27 +0000 (20:55 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 18 Aug 2013 00:55:27 +0000 (20:55 -0400)
The pixbuf stuff comes with it, and including gdkpixbuf.h directly
is illegal in newer gdk/gtk versions.

src/preview.h

index 772984b..801fc6f 100644 (file)
@@ -22,7 +22,7 @@
 #include <glib.h>
 
 #include <obrender/font.h>
-#include <gdk/gdkpixbuf.h>
+#include <gdk/gdk.h>
 
 GdkPixbuf *preview_theme(const gchar *name, const gchar *titlelayout,
                          RrFont *active_window_font,