diff options
author | Jonathan Blandford <jrb@redhat.com> | 1999-11-04 18:18:07 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 1999-11-04 18:18:07 +0000 |
commit | d0ed72ee143dd9586ea42a937860c042bdd8fa74 (patch) | |
tree | 14f19ca39bb3bdd6c27817493e3f4fe9c25d650e /gdk-pixbuf/gdk-pixbuf-io.h | |
parent | 567305020d37f24e192ffcec008e857a0da32e19 (diff) | |
download | gdk-pixbuf-d0ed72ee143dd9586ea42a937860c042bdd8fa74.tar.gz |
handle the actual update. add a update_func callback. add a update_func
1999-11-04 Jonathan Blandford <jrb@redhat.com>
* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_update): handle the
actual update.
* src/io-png.c (image_begin_load): add a update_func callback.
* src/io-gif.c (image_begin_load): add a update_func callback.
* src/io-tiff.c (image_begin_load): add a update_func callback.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.h b/gdk-pixbuf/gdk-pixbuf-io.h index 4706106a8..ba42c95ce 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.h +++ b/gdk-pixbuf/gdk-pixbuf-io.h @@ -39,6 +39,7 @@ extern "C" { typedef void (* ModulePreparedNotifyFunc) (GdkPixbuf *pixbuf, gpointer user_data); +typedef void (* ModuleUpdatedNotifyFunc) (GdkPixbuf *pixbuf, gpointer user_data, guint x, guint y, guint width, guint height); typedef struct _GdkPixbufModule GdkPixbufModule; struct _GdkPixbufModule { @@ -49,7 +50,7 @@ struct _GdkPixbufModule { GdkPixbuf *(* load_xpm_data) (const gchar **data); /* Incremental loading */ - gpointer (* begin_load) (ModulePreparedNotifyFunc func, gpointer user_data); + gpointer (* begin_load) (ModulePreparedNotifyFunc prepare_func, ModuleUpdatedNotifyFunc update_func, gpointer user_data); void (* stop_load) (gpointer context); gboolean (* load_increment)(gpointer context, const gchar *buf, guint size); }; |