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 772984b5477e28855a641966b0ce2cf25f6e8af9..801fc6fedf6cf9a70985c434bebbcc23b0e5c309 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,