summaryrefslogtreecommitdiff
blob: 7ab7ebb03212e536e999d21f65729fbbc5867628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- src/gimv_cell_pixmap.c
+++ src/gimv_cell_pixmap.c
@@ -25,10 +25,6 @@
  *  Copyright (C) 2000  Red Hat, Inc.,  Jonathan Blandford <jrb@redhat.com>
  */
 
-#ifndef GTK_DISABLE_DEPRECATED
-#  define GTK_DISABLE_DEPRECATED
-#endif /* GTK_DISABLE_DEPRECATED */
-
 #include "gimv_cell_pixmap.h"
 
 #if (GTK_MAJOR_VERSION >= 2)
--- src/gimv_image.c
+++ src/gimv_image.c
@@ -35,7 +35,7 @@
 #include "gimv_io.h"
 #include "gimv_image_saver.h"
 
-#if defined (HAVE_GDK_PIXBUF)
+#if defined (HAVE_GDK_PIXBUF) || defined (USE_GTK2)
 #  include <gdk-pixbuf/gdk-pixbuf.h>
 #  include "pixbuf_utils.h"
 typedef GdkPixbuf GimvRawImage;