From 638d57cd7ed560e01c82fcac480bdd03ede1045b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 7 Jan 2004 01:58:40 +0000 Subject: [PATCH] Document GdkPixbufSaveFunc. Wed Jan 7 01:56:33 2004 Matthias Clasen * gdk-pixbuf/tmpl/file-saving.sgml: Document GdkPixbufSaveFunc. * gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufSaveFunc, gdk_pixbuf_save_to_callback, gdk_pixbuf_save_to_callbackv, gdk_pixbuf_save_to_buffer and gdk_pixbuf_save_to_bufferv. --- docs/reference/ChangeLog | 8 ++++++++ .../reference/gdk-pixbuf/gdk-pixbuf-sections.txt | 5 +++++ docs/reference/gdk-pixbuf/tmpl/file-saving.sgml | 16 ++++++++++++++++ 3 files changed, 29 insertions(+) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 05645598d6..f077eda35d 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,11 @@ +Wed Jan 7 01:56:33 2004 Matthias Clasen + + * gdk-pixbuf/tmpl/file-saving.sgml: Document GdkPixbufSaveFunc. + + * gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufSaveFunc, + gdk_pixbuf_save_to_callback, gdk_pixbuf_save_to_callbackv, + gdk_pixbuf_save_to_buffer and gdk_pixbuf_save_to_bufferv. + Wed Jan 7 01:27:23 2004 Matthias Clasen * gdk-pixbuf/tmpl/module_interface.sgml: Document expected diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt b/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt index 9f625c9fe1..cd30806ecd 100644 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt +++ b/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt @@ -64,6 +64,11 @@ gdk_pixbuf_get_file_info file-saving gdk_pixbuf_savev gdk_pixbuf_save +GdkPixbufSaveFunc +gdk_pixbuf_save_to_callback +gdk_pixbuf_save_to_callbackv +gdk_pixbuf_save_to_buffer +gdk_pixbuf_save_to_bufferv
diff --git a/docs/reference/gdk-pixbuf/tmpl/file-saving.sgml b/docs/reference/gdk-pixbuf/tmpl/file-saving.sgml index a8b7da2c40..df21532d66 100644 --- a/docs/reference/gdk-pixbuf/tmpl/file-saving.sgml +++ b/docs/reference/gdk-pixbuf/tmpl/file-saving.sgml @@ -41,3 +41,19 @@ Saving a pixbuf to a file. @Returns: + + +Specifies the type of the function passed to +gdk_pixbuf_save_to_callback(). It is called once for each block of +bytes that is "written" by gdk_pixbuf_save_to_callback(). If +successful it should return %TRUE. If an error occurs it should set +@error and return %FALSE, in which case gdk_pixbuf_save_to_callback() +will fail with the same error. + + +@buf: bytes to be written. +@count: number of bytes in @buf. +@error: A location to return an error. +@data: user data passed to gdk_pixbuf_save_to_callback(). +@Returns: %TRUE if successful, %FALSE (with @error set) if failed. +@Since: 2.4