diff options
author | Michael Fulbright <drmike@redhat.com> | 1999-10-29 19:27:51 +0000 |
---|---|---|
committer | Michael Fulbright <drmike@src.gnome.org> | 1999-10-29 19:27:51 +0000 |
commit | 5749f310e4783c801371e2b876eb6379720f3800 (patch) | |
tree | 458783b401bf1afbbc7c349bbd3f49bdb5ed5c92 /gdk-pixbuf/gdk-pixbuf-io.h | |
parent | ece5ac121a0acfa50725cdae19979b80a02ae170 (diff) | |
download | gdk-pixbuf-5749f310e4783c801371e2b876eb6379720f3800.tar.gz |
Actually load the image handler when we determine the image type.
1999-10-29 Michael Fulbright <drmike@redhat.com>
* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Actually
load the image handler when we determine the image type.
* src/gdk-pixbuf-io.[ch] (gdk_pixbuf_load_module): Changed the
previously static function load_image_handler () to
a public function gdk_pixbuf_load_module (). It is needed in
gdk-pixbuf-loader.c to load image handler modules. This function
is different from gdk_pixbuf_get_module (), which only returns
a reference to the required handler, because it actually loads
the handler into memory. Both actions should possibly be combined
in a convenience function since one w/o the other doesn't seem to
make much sense.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.h b/gdk-pixbuf/gdk-pixbuf-io.h index 4486adfb6..2fcd09257 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.h +++ b/gdk-pixbuf/gdk-pixbuf-io.h @@ -6,6 +6,7 @@ * Miguel de Icaza <miguel@gnu.org> * Federico Mena-Quintero <federico@gimp.org> * Jonathan Blandford <jrb@redhat.com> + * Michael Fulbright <drmike@redhat.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -46,4 +47,5 @@ struct _GdkPixbufModule { GdkPixbufModule *gdk_pixbuf_get_module (gchar *buffer, gint size); +void gdk_pixbuf_load_module (GdkPixbufModule *image_module); |