diff options
author | Jonathan Blandford <jrb@redhat.com> | 1999-12-10 23:15:20 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 1999-12-10 23:15:20 +0000 |
commit | 0b0ebee941d724daddb624319517702d703bf16e (patch) | |
tree | 9c57ebf835262582c9800ff8c84f9705efef8773 /gdk-pixbuf/gdk-pixbuf-loader.h | |
parent | a44d2e2e2c7a7db645553f198c4e118b71c40bde (diff) | |
download | gdk-pixbuf-0b0ebee941d724daddb624319517702d703bf16e.tar.gz |
make a warning go away.
1999-12-10 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
make a warning go away.
* gdk-pixbuf/gdk-pixbuf.h: added new prototypes for animations.
* gdk-pixbuf/gdk-pixbuf-loader.h: added new prototypes for
animations.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-loader.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-loader.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.h b/gdk-pixbuf/gdk-pixbuf-loader.h index 6d93b2f8e..1ba263b57 100644 --- a/gdk-pixbuf/gdk-pixbuf-loader.h +++ b/gdk-pixbuf/gdk-pixbuf-loader.h @@ -56,21 +56,28 @@ typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass; struct _GdkPixbufLoaderClass { GtkObjectClass parent_class; - void (* area_prepared) (GdkPixbufLoader *loader); + void (* area_prepared) (GdkPixbufLoader *loader); - void (* area_updated) (GdkPixbufLoader *loader, - guint x, guint y, guint width, guint height); + void (* area_updated) (GdkPixbufLoader *loader, + guint x, guint y, guint width, guint height); - void (* closed) (GdkPixbufLoader *loader); + void (* frame_done) (GdkPixbufLoader *loader, gint frame); + + void (* animation_done) (GdkPixbufLoader *loader); + + void (* closed) (GdkPixbufLoader *loader); }; -GtkType gdk_pixbuf_loader_get_type (void); -GdkPixbufLoader *gdk_pixbuf_loader_new (void); -gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader, const gchar *buf, size_t count); -GdkPixbuf *gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader); -void gdk_pixbuf_loader_close (GdkPixbufLoader *loader); +GtkType gdk_pixbuf_loader_get_type (void); +GdkPixbufLoader *gdk_pixbuf_loader_new (void); +gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader, + const gchar *buf, + size_t count); +GdkPixbuf *gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader); +GdkPixbufAnimation *gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader); +void gdk_pixbuf_loader_close (GdkPixbufLoader *loader); |