[goffice] Fixed GdkPixbuf usage. [#667005]



commit 34cd4beaaecb40aa08661f633844ec5811405ac4
Author: Jean Brefort <jean brefort normalesup org>
Date:   Fri Jan 6 10:47:39 2012 +0100

    Fixed GdkPixbuf usage. [#667005]

 ChangeLog                    |    4 ++++
 NEWS                         |    1 +
 goffice/graph/gog-renderer.h |    7 +------
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index dbb07ad..dd4589b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-06  Jean Brefort  <jean brefort normalesup org>
+
+	* goffice/graph/gog-renderer.h: fixed GdkPixbuf usage. [#667005]
+
 2012-01-05  Morten Welinder  <terra gnome org>
 
 	* goffice/app/go-plugin-service.c
diff --git a/NEWS b/NEWS
index efeea4d..3642a94 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Jean:
 	* Fixed rounding errors in limits displayed in contour plot legend.
 	[#666292]
 	* Support wrapped charts labels, partially fixes #643873.
+	* Fixed GdkPixbuf usage. [#667005]
 
 Morten:
 	* Embed library ui files into library.
diff --git a/goffice/graph/gog-renderer.h b/goffice/graph/gog-renderer.h
index 309eb80..aa256b7 100644
--- a/goffice/graph/gog-renderer.h
+++ b/goffice/graph/gog-renderer.h
@@ -24,12 +24,7 @@
 #include <goffice/goffice.h>
 
 #include <gsf/gsf.h>
-
-#ifdef GOFFICE_WITH_GTK
-#include <gdk/gdk.h>
-#else
-typedef struct _GdkPixbuf GdkPixbuf;
-#endif
+#include <gdk-pixbuf/gdk-pixbuf.h>
 
 #ifdef GOFFICE_WITH_LASEM
 #include <lsmdomview.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]