You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch

25 lines
624 B

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