summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-io.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@redhat.com>1999-10-27 17:31:07 +0000
committerArturo Espinosa <unammx@src.gnome.org>1999-10-27 17:31:07 +0000
commit23b0f15ee834bef11d3e5de3158a092d0b338cba (patch)
treed5babba81461b3c69cab667c98d85e509e5a93ad /gdk-pixbuf/gdk-pixbuf-io.h
parent1a0a5d0399d5b3aaa4edc1c9763e07c0c35d1048 (diff)
downloadgdk-pixbuf-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-io.h')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.h b/gdk-pixbuf/gdk-pixbuf-io.h
index e27c137a5..b3da91d64 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.h
+++ b/gdk-pixbuf/gdk-pixbuf-io.h
@@ -26,13 +26,15 @@
#include "gdk-pixbuf.h"
#include <stdio.h>
+
+
typedef void (* ModulePreparedNotifyFunc) (GdkPixbuf *pixbuf, gpointer user_data);
typedef struct _ModuleType ModuleType;
struct _ModuleType {
char *module_name;
- gboolean (* format_check) (guchar *buffer, int size);
GModule *module;
+ gboolean (* format_check) (guchar *buffer, int size);
GdkPixbuf *(* load) (FILE *f);
GdkPixbuf *(* load_xpm_data) (const gchar **data);