diff options
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-io.c | 4 |
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; } |