diff options
author | Havoc Pennington <hp@pobox.com> | 2001-02-18 04:08:30 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-02-18 04:08:30 +0000 |
commit | 1a1e293d315bb1e503473f145d2930d1488fb674 (patch) | |
tree | e7c5d553492b156566a7ab9082320db3093721b3 | |
parent | cd970eafe83063566259b3a4ed768b0a2844b168 (diff) | |
download | gtk+-1a1e293d315bb1e503473f145d2930d1488fb674.tar.gz |
docs
2001-02-17 Havoc Pennington <hp@pobox.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_type): docs
-rw-r--r-- | gdk-pixbuf/ChangeLog | 4 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-loader.c | 9 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 4b1d13dc4d..c33eb75325 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,7 @@ +2001-02-17 Havoc Pennington <hp@pobox.com> + + * gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_type): docs + 2001-02-07 Alexander Larsson <alexl@redhat.com> * io-xpm.c (free_buffer): diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c index 3ed9036782..45bd4cf4cf 100644 --- a/gdk-pixbuf/gdk-pixbuf-loader.c +++ b/gdk-pixbuf/gdk-pixbuf-loader.c @@ -498,8 +498,15 @@ gdk_pixbuf_loader_new (void) /** * gdk_pixbuf_loader_new_with_type: + * @image_type: name of the image format to be loaded with the image + * @error: return location for an allocated #GError, or %NULL to ignore errors * - * Creates a new pixbuf loader object. + * Creates a new pixbuf loader object that always attempts to parse + * image data as if it were an image of type @image_type, instead of + * identifying the type automatically. Useful if you want an error if + * the image isn't the expected type, for loading image formats + * that can't be reliably identified by looking at the data, or if + * the user manually forces a specific type. * * Return value: A newly-created pixbuf loader. **/ |