Document 2.2 API additions.

This commit is contained in:
Matthias Clasen
2002-11-28 00:33:17 +00:00
parent 7f26dbf30a
commit 7cb3f99fc7
61 changed files with 793 additions and 123 deletions

View File

@ -1,3 +1,11 @@
2002-11-28 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf/gdk-pixbuf-io.c:
* gdk-pixbuf/gdk-pixbuf-loader.c:
* gdk-pixbuf/gdk-pixbuf.c: Document 2.2 API additions. I'm not
going to list all individual functions here; if you want to see
the list, grep for "Since: 2.2".
Fri Nov 8 19:06:07 2002 Owen Taylor <otaylor@redhat.com>
* Makefile.am (gdk-pixbuf.loaders): Make gdk-pixbuf.loaders

View File

@ -1002,6 +1002,8 @@ gdk_pixbuf_savev (GdkPixbuf *pixbuf,
* Returns the name of the format.
*
* Return value: the name of the format.
*
* Since: 2.2
*/
gchar *
gdk_pixbuf_format_get_name (GdkPixbufFormat *format)
@ -1018,6 +1020,8 @@ gdk_pixbuf_format_get_name (GdkPixbufFormat *format)
* Returns a description of the format.
*
* Return value: a description of the format.
*
* Since: 2.2
*/
gchar *
gdk_pixbuf_format_get_description (GdkPixbufFormat *format)
@ -1042,6 +1046,8 @@ gdk_pixbuf_format_get_description (GdkPixbufFormat *format)
* Returns the mime types supported by the format.
*
* Return value: a %NULL-terminated array of mime types.
*
* Since: 2.2
*/
gchar **
gdk_pixbuf_format_get_mime_types (GdkPixbufFormat *format)
@ -1055,9 +1061,12 @@ gdk_pixbuf_format_get_mime_types (GdkPixbufFormat *format)
* gdk_pixbuf_format_get_extensions:
* @format: a #GdkPixbufFormat
*
* Returns the filename extensions typically used for files in the given format.
* Returns the filename extensions typically used for files in the
* given format.
*
* Return value: a %NULL-terminated array of filename extensions.
*
* Since: 2.2
*/
gchar **
gdk_pixbuf_format_get_extensions (GdkPixbufFormat *format)
@ -1074,6 +1083,8 @@ gdk_pixbuf_format_get_extensions (GdkPixbufFormat *format)
* Returns whether pixbufs can be saved in the given format.
*
* Return value: whether pixbufs can be saved in the given format.
*
* Since: 2.2
*/
gboolean
gdk_pixbuf_format_is_writable (GdkPixbufFormat *format)
@ -1101,6 +1112,8 @@ _gdk_pixbuf_get_format (GdkPixbufModule *module)
* image formats. The list should be freed when it is no longer needed,
* but the structures themselves are owned by #GdkPixbuf and should not be
* freed.
*
* Since: 2.2
*/
GSList *
gdk_pixbuf_get_formats (void)

View File

@ -201,6 +201,8 @@ gdk_pixbuf_loader_finalize (GObject *object)
*
* Attempts to set the desired image size are ignored after the
* emission of the ::size_prepared signal.
*
* Since: 2.2
*/
void
gdk_pixbuf_loader_set_size (GdkPixbufLoader *loader,
@ -662,6 +664,8 @@ gdk_pixbuf_loader_close (GdkPixbufLoader *loader,
*
* Returns: A #GdkPixbufFormat or %NULL. The return value is owned
* by GdkPixbuf and should not be freed.
*
* Since: 2.2
*/
GdkPixbufFormat *
gdk_pixbuf_loader_get_format (GdkPixbufLoader *loader)

View File

@ -535,6 +535,8 @@ gdk_pixbuf_get_option (GdkPixbuf *pixbuf,
* ignored and %FALSE is returned.
*
* Return value: %TRUE on success.
*
* Since: 2.2
**/
gboolean
gdk_pixbuf_set_option (GdkPixbuf *pixbuf,