blob: 52e62b19cb06e54a1613b315e9f92be836a9c806 (
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
25
26
|
diff -ur gimageview-0.2.27.orig/src/gimv_cell_pixmap.c gimageview-0.2.27/src/gimv_cell_pixmap.c
--- gimageview-0.2.27.orig/src/gimv_cell_pixmap.c 2004-05-23 17:07:54.000000000 +0300
+++ gimageview-0.2.27/src/gimv_cell_pixmap.c 2008-12-21 15:01:34.000000000 +0200
@@ -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)
diff -ur gimageview-0.2.27.orig/src/gimv_image.c gimageview-0.2.27/src/gimv_image.c
--- gimageview-0.2.27.orig/src/gimv_image.c 2004-09-21 11:44:31.000000000 +0300
+++ gimageview-0.2.27/src/gimv_image.c 2008-12-21 15:01:59.000000000 +0200
@@ -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;
|