]> Pileus Git - ~andy/gtk/blobdiff - gdk-pixbuf/io-pcx.c
Fix the signature to avoid overwriting a pspec.
[~andy/gtk] / gdk-pixbuf / io-pcx.c
index 4904f3acf84a130ef3a8b2c1d9090bde2882157e..d1042cb7dce0b786245b0650f819e4114a63ec4b 100644 (file)
@@ -353,7 +353,7 @@ pcx_increment_load_data_1(struct pcx_context *context)
                }
 
                if(context->updated_func)
-                       context->updated_func(context->pixbuf, 0, context->current_line, context->width, 1, context->user_data);
+                       context->updated_func(context->pixbuf, 0, 0, context->width, context->height, context->user_data);
 
                context->current_line++;
 
@@ -758,5 +758,6 @@ MODULE_ENTRY (pcx, fill_info) (GdkPixbufFormat *info)
        info->description = N_("The PCX image format");
        info->mime_types = mime_types;
        info->extensions = extensions;
-       info->flags = 0;
+       info->flags = GDK_PIXBUF_FORMAT_THREADSAFE;
+       info->license = "LGPL";
 }