--- 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;
