summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-io.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-10-08 05:32:07 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-10-08 05:32:07 +0000
commit241ff0b6bd15f079ce58635bca921395db8f0bb4 (patch)
treea12d64f8c34af754b7371aa9f663526d6eb669fe /gdk-pixbuf/gdk-pixbuf-io.c
parent07e7719441f5927bc3c482717fc53f8529186e3a (diff)
downloadgtk+-241ff0b6bd15f079ce58635bca921395db8f0bb4.tar.gz
Cleanups
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index 95103ff95f..9b83f4b48a 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -123,7 +123,7 @@ _gdk_pixbuf_unlock (GdkPixbufModule *image_module)
static GSList *file_formats = NULL;
-static void gdk_pixbuf_io_init ();
+static void gdk_pixbuf_io_init (void);
static GSList *
get_file_formats (void)
@@ -1138,7 +1138,7 @@ gdk_pixbuf_new_from_file_at_scale (const char *filename,
animation = gdk_pixbuf_loader_get_animation (loader);
if (animation) {
- iter = gdk_pixbuf_animation_get_iter (animation, 0);
+ iter = gdk_pixbuf_animation_get_iter (animation, NULL);
if (!gdk_pixbuf_animation_iter_on_currently_loading_frame (iter)) {
has_frame = TRUE;
}