From 23b0f15ee834bef11d3e5de3158a092d0b338cba Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 27 Oct 1999 17:31:07 +0000 Subject: Return a GdkPixbufLoader, not a GtkObject. 1999-10-27 Federico Mena Quintero * 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. --- gdk-pixbuf/gdk-pixbuf-loader.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdk-pixbuf/gdk-pixbuf-loader.h') 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); -- cgit v1.2.1