summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-02-18 04:08:30 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-02-18 04:08:30 +0000
commit1a1e293d315bb1e503473f145d2930d1488fb674 (patch)
treee7c5d553492b156566a7ab9082320db3093721b3 /gdk-pixbuf
parentcd970eafe83063566259b3a4ed768b0a2844b168 (diff)
downloadgdk-pixbuf-1a1e293d315bb1e503473f145d2930d1488fb674.tar.gz
docs
2001-02-17 Havoc Pennington <hp@pobox.com> * gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_type): docs
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog4
-rw-r--r--gdk-pixbuf/gdk-pixbuf-loader.c9
2 files changed, 12 insertions, 1 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index 4b1d13dc4..c33eb7532 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 3ed903678..45bd4cf4c 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.
**/