Commit 6b75ef95 authored by Bastien Nocera's avatar Bastien Nocera Committed by Matthias Clasen
Browse files

gdk-pixbuf: Make set_option() usable in client code

Not just in loaders.

https://bugzilla.gnome.org/show_bug.cgi?id=768043
parent ce4b2a8b
......@@ -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);
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment