[gtkmm] Pixbuf: Removed set_option() again.



commit f5cb5b7b1688d3b61a47dbe5bcf5cc1cb3cfa792
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jan 12 14:54:57 2011 +0100

    Pixbuf: Removed set_option() again.
    
    	* gdk/src/pixbuf.hg: gdk_pixbuf_set_option() is actually only available when
    	GDK_PIXBUF_ENABLE_BACKEND is set.

 ChangeLog          |    9 ++++++++-
 gdk/src/pixbuf.ccg |    1 -
 gdk/src/pixbuf.hg  |    2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 371b314..17cd057 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-01-12  Murray Cumming  <murrayc murrayc com>
 
+	Pixbuf: Removed set_option() again.
+
+	* gdk/src/pixbuf.hg: gdk_pixbuf_set_option() is actually only available when
+	GDK_PIXBUF_ENABLE_BACKEND is set.
+	
+2011-01-12  Murray Cumming  <murrayc murrayc com>
+
 	Pixbuf: Add some methods.
 
 	* gdk/src/pixbuf.hg: Added set_option() and apply_embedded_orientation().
@@ -260,7 +267,7 @@
 
 	Window: Remove frame API to fix the build with GTK+ from git master.
 
-	* gtk/src/window.hg: set_frame_event(), get_frame_event(), 
+	* gtk/src/window.hg: Removed set_frame_event(), get_frame_event(), 
 	set_frame_dimensions(), get_frame_dimensions() and the frame_event signal.
 
 2010-12-23  Murray Cumming  <murrayc murrayc com>
diff --git a/gdk/src/pixbuf.ccg b/gdk/src/pixbuf.ccg
index 4686d75..4086710 100644
--- a/gdk/src/pixbuf.ccg
+++ b/gdk/src/pixbuf.ccg
@@ -22,7 +22,6 @@
 #include <gdk/gdk.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
 
-
 namespace
 {
 
diff --git a/gdk/src/pixbuf.hg b/gdk/src/pixbuf.hg
index 8148247..8b5fff8 100644
--- a/gdk/src/pixbuf.hg
+++ b/gdk/src/pixbuf.hg
@@ -428,7 +428,7 @@ gboolean gdk_pixbuf_save_to_callbackv   (GdkPixbuf  *pixbuf,
 
   _WRAP_METHOD(Glib::ustring get_option(const Glib::ustring& key) const, gdk_pixbuf_get_option)
   
-  _WRAP_METHOD(bool set_option(const Glib::ustring& key, const Glib::ustring& value), gdk_pixbuf_set_option)
+  _IGNORE(gdk_pixbuf_set_option) //gdk_pixbuf_set_option() is only available when GDK_PIXBUF_ENABLE_BACKEND is defined.
 
   //This creates a new GdkPixbuf or returns the original with a reference.
   _WRAP_METHOD(Glib::RefPtr<Pixbuf> apply_embedded_orientation(), gdk_pixbuf_apply_embedded_orientation)



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