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 | 1bccdfda27aef5f898bc14c818abe36ff2216560 (patch) | |
tree | 15dca49a714aefeb7d55f4afa07efbe435d92ca0 /gdk-pixbuf/io-pnm.c | |
parent | 6465a5d9d6e68b062e35fe91b09bbad211bd15c1 (diff) | |
download | gdk-pixbuf-1bccdfda27aef5f898bc14c818abe36ff2216560.tar.gz |
0.6.0 - Federico
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 c0b0b1df2..c3ac215fa 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; |