diff --git a/gio/glib-compile-resources.c b/gio/glib-compile-resources.c index 195237f0b..6ec3076f4 100644 --- a/gio/glib-compile-resources.c +++ b/gio/glib-compile-resources.c @@ -878,7 +878,7 @@ main (int argc, char **argv) fprintf (file, "\n" - "static GStaticResource static_resource = { %s_resource_data.data, sizeof (%s_resource_data.data) };\n" + "static GStaticResource static_resource = { %s_resource_data.data, sizeof (%s_resource_data.data), NULL, NULL, NULL };\n" "%s GResource *%s_get_resource (void);\n" "GResource *%s_get_resource (void)\n" "{\n"