diff options
Diffstat (limited to 'media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch')
-rw-r--r-- | media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch b/media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch new file mode 100644 index 000000000000..7ab7ebb03212 --- /dev/null +++ b/media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch @@ -0,0 +1,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; |