* [gentoo-commits] gentoo-x86 commit in media-gfx/gimageview/files: gimageview-0.2.27-gtk2.patch
@ 2008-12-21 13:14 Samuli Suominen (ssuominen)
0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2008-12-21 13:14 UTC (permalink / raw
To: gentoo-commits
ssuominen 08/12/21 13:14:09
Added: gimageview-0.2.27-gtk2.patch
Log:
Remove unnecessary GTK+-2 defines, and add a missing one for bug 247725, thanks to Flameeyes for reporting. Run elibtoolize.
(Portage version: 2.1.6.1/cvs/Linux 2.6.27.7 i686)
Revision Changes Path
1.1 media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimageview/files/gimageview-0.2.27-gtk2.patch?rev=1.1&content-type=text/plain
Index: gimageview-0.2.27-gtk2.patch
===================================================================
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-21 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-21 13:14 [gentoo-commits] gentoo-x86 commit in media-gfx/gimageview/files: gimageview-0.2.27-gtk2.patch Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox