diff options
author | Federico Mena Quintero <federico@redhat.com> | 1999-10-27 17:31:07 +0000 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-10-27 17:31:07 +0000 |
commit | 23b0f15ee834bef11d3e5de3158a092d0b338cba (patch) | |
tree | d5babba81461b3c69cab667c98d85e509e5a93ad /gdk-pixbuf/gdk-pixbuf-loader.h | |
parent | 1a0a5d0399d5b3aaa4edc1c9763e07c0c35d1048 (diff) | |
download | gtk+-23b0f15ee834bef11d3e5de3158a092d0b338cba.tar.gz |
Return a GdkPixbufLoader, not a GtkObject.
1999-10-27 Federico Mena Quintero <federico@redhat.com>
* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_new): Return a
GdkPixbufLoader, not a GtkObject.
(gtk_marshal_NONE__INT_INT_INT_INT): Made static.
(gdk_pixbuf_loader_get_type): Documented.
(gdk_pixbuf_loader_class_init): Initialize the parent class
correctly.
(gdk_pixbuf_loader_destroy): Added sanity checks. Call the parent
class destroy function.
(gdk_pixbuf_loader_new): Documented.
(gdk_pixbuf_loader_finalize): Call the parent class finalize
function.
(gdk_pixbuf_loader_write): Use size_t for count.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-loader.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-loader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.h b/gdk-pixbuf/gdk-pixbuf-loader.h index 83dd919063..3e947ec054 100644 --- a/gdk-pixbuf/gdk-pixbuf-loader.h +++ b/gdk-pixbuf/gdk-pixbuf-loader.h @@ -66,11 +66,11 @@ struct _GdkPixbufLoaderClass { -GtkType gdk_pixbuf_loader_get_type (void); -GtkObject *gdk_pixbuf_loader_new (void); -gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader, gchar *buf, gint count); +GtkType gdk_pixbuf_loader_get_type (void); +GdkPixbufLoader *gdk_pixbuf_loader_new (void); +gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader, guchar *buf, size_t count); GdkPixbuf *gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader); -void gdk_pixbuf_loader_close (GdkPixbufLoader *loader); +void gdk_pixbuf_loader_close (GdkPixbufLoader *loader); |