diff options
author | Federico Mena Quintero <federico@src.gnome.org> | 2000-02-22 00:29:00 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-02-22 00:29:00 +0000 |
commit | 79d63460579c8e867b8709154649c77fc388aded (patch) | |
tree | 5d4188dd450b238d0f7f796dd274f0bf6b084406 /gdk-pixbuf/io-pnm.c | |
parent | 7ef740e03d628d46772f5ea7e05d4b7797a1986d (diff) | |
download | gtk+-79d63460579c8e867b8709154649c77fc388aded.tar.gz |
0.6.0 - FedericoGDK_PIXBUF_0_6_0
Diffstat (limited to 'gdk-pixbuf/io-pnm.c')
-rw-r--r-- | gdk-pixbuf/io-pnm.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/gdk-pixbuf/io-pnm.c b/gdk-pixbuf/io-pnm.c index c0b0b1df24..c3ac215fa5 100644 --- a/gdk-pixbuf/io-pnm.c +++ b/gdk-pixbuf/io-pnm.c @@ -75,14 +75,14 @@ typedef struct { gboolean got_header; /* have we loaded jpeg header? */ } PnmLoaderContext; -GdkPixbuf *image_load (FILE *f); -gpointer image_begin_load (ModulePreparedNotifyFunc func, - ModuleUpdatedNotifyFunc func2, - ModuleFrameDoneNotifyFunc frame_done_func, - ModuleAnimationDoneNotifyFunc anim_done_func, - gpointer user_data); -void image_stop_load (gpointer context); -gboolean image_load_increment(gpointer context, guchar *buf, guint size); +GdkPixbuf *gdk_pixbuf__pnm_image_load (FILE *f); +gpointer gdk_pixbuf__pnm_image_begin_load (ModulePreparedNotifyFunc func, + ModuleUpdatedNotifyFunc func2, + ModuleFrameDoneNotifyFunc frame_done_func, + ModuleAnimationDoneNotifyFunc anim_done_func, + gpointer user_data); +void gdk_pixbuf__pnm_image_stop_load (gpointer context); +gboolean gdk_pixbuf__pnm_image_load_increment(gpointer context, guchar *buf, guint size); static void explode_bitmap_into_buf (PnmLoaderContext *context); static void explode_gray_into_buf (PnmLoaderContext *context); @@ -580,7 +580,7 @@ pnm_read_scanline (PnmLoaderContext *context) /* Shared library entry point */ GdkPixbuf * -image_load (FILE *f) +gdk_pixbuf__pnm_image_load (FILE *f) { gint nbytes; gint rc; @@ -688,11 +688,11 @@ image_load (FILE *f) */ gpointer -image_begin_load (ModulePreparedNotifyFunc prepared_func, - ModuleUpdatedNotifyFunc updated_func, - ModuleFrameDoneNotifyFunc frame_done_func, - ModuleAnimationDoneNotifyFunc anim_done_func, - gpointer user_data) +gdk_pixbuf__pnm_image_begin_load (ModulePreparedNotifyFunc prepared_func, + ModuleUpdatedNotifyFunc updated_func, + ModuleFrameDoneNotifyFunc frame_done_func, + ModuleAnimationDoneNotifyFunc anim_done_func, + gpointer user_data) { PnmLoaderContext *context; @@ -717,7 +717,7 @@ image_begin_load (ModulePreparedNotifyFunc prepared_func, * free context, unref gdk_pixbuf */ void -image_stop_load (gpointer data) +gdk_pixbuf__pnm_image_stop_load (gpointer data) { PnmLoaderContext *context = (PnmLoaderContext *) data; @@ -740,7 +740,7 @@ image_stop_load (gpointer data) * append image data onto inrecrementally built output image */ gboolean -image_load_increment (gpointer data, guchar *buf, guint size) +gdk_pixbuf__pnm_image_load_increment (gpointer data, guchar *buf, guint size) { PnmLoaderContext *context = (PnmLoaderContext *)data; PnmIOBuffer *inbuf; |