[gdk-pixbuf] gdk-pixbuf: Make set_option() usable in client code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] gdk-pixbuf: Make set_option() usable in client code
- Date: Tue, 2 Aug 2016 18:51:41 +0000 (UTC)
commit 6b75ef95f5d26a2958b77c00a7f7cc22e74cb36c
Author: Bastien Nocera <hadess hadess net>
Date: Sun Jun 26 11:53:48 2016 +0200
gdk-pixbuf: Make set_option() usable in client code
Not just in loaders.
https://bugzilla.gnome.org/show_bug.cgi?id=768043
gdk-pixbuf/gdk-pixbuf-core.h | 5 +++++
gdk-pixbuf/gdk-pixbuf-io.h | 7 -------
2 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-core.h b/gdk-pixbuf/gdk-pixbuf-core.h
index ae3bf1a..be452f0 100644
--- a/gdk-pixbuf/gdk-pixbuf-core.h
+++ b/gdk-pixbuf/gdk-pixbuf-core.h
@@ -534,6 +534,11 @@ void gdk_pixbuf_saturate_and_pixelate (const GdkPixbuf *src,
GDK_PIXBUF_AVAILABLE_IN_2_12
GdkPixbuf *gdk_pixbuf_apply_embedded_orientation (GdkPixbuf *src);
+/* key/value pairs that can be attached by the pixbuf loader */
+GDK_PIXBUF_AVAILABLE_IN_ALL
+gboolean gdk_pixbuf_set_option (GdkPixbuf *pixbuf,
+ const gchar *key,
+ const gchar *value);
GDK_PIXBUF_AVAILABLE_IN_ALL
const gchar * gdk_pixbuf_get_option (GdkPixbuf *pixbuf,
const gchar *key);
diff --git a/gdk-pixbuf/gdk-pixbuf-io.h b/gdk-pixbuf/gdk-pixbuf-io.h
index 5f4376e..d8df010 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.h
+++ b/gdk-pixbuf/gdk-pixbuf-io.h
@@ -303,13 +303,6 @@ typedef void (* GdkPixbufModuleFillVtableFunc) (GdkPixbufModule *module);
*/
typedef void (* GdkPixbufModuleFillInfoFunc) (GdkPixbufFormat *info);
-/* key/value pairs that can be attached by the pixbuf loader */
-
-GDK_PIXBUF_AVAILABLE_IN_2_2
-gboolean gdk_pixbuf_set_option (GdkPixbuf *pixbuf,
- const gchar *key,
- const gchar *value);
-
/**
* GdkPixbufFormatFlags:
* @GDK_PIXBUF_FORMAT_WRITABLE: the module can write out images in the format.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]