summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/queryloaders.c
diff options
context:
space:
mode:
authorjacob berkman <jacob@ximian.com>2002-10-04 05:23:13 +0000
committerJacob Berkman <jberkman@src.gnome.org>2002-10-04 05:23:13 +0000
commit562e3caf495c8cdfc7843474d5530170ede4b0c5 (patch)
treed5278a3b8551c477e13f39c3f8324be6c2b848c4 /gdk-pixbuf/queryloaders.c
parentccc2ccf2218cf39232dbf6ea6dc2a0a59d844818 (diff)
downloadgtk+-562e3caf495c8cdfc7843474d5530170ede4b0c5.tar.gz
make legal C
2002-10-04 jacob berkman <jacob@ximian.com> * queryloaders.c (query_module): make legal C
Diffstat (limited to 'gdk-pixbuf/queryloaders.c')
-rw-r--r--gdk-pixbuf/queryloaders.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c
index 6d6c0f9e8f..782233fa4e 100644
--- a/gdk-pixbuf/queryloaders.c
+++ b/gdk-pixbuf/queryloaders.c
@@ -77,8 +77,9 @@ query_module (const char *dir, const char *file)
if (module &&
g_module_symbol (module, "fill_info", (gpointer *) &fill_info) &&
g_module_symbol (module, "fill_vtable", (gpointer *) &fill_vtable)) {
+ GdkPixbufFormat *info;
printf("\"%s\"\n", path);
- GdkPixbufFormat *info = g_new0 (GdkPixbufFormat, 1);
+ info = g_new0 (GdkPixbufFormat, 1);
(*fill_info) (info);
printf("\"%s\" %d \"%s\" \"%s\"\n",
info->name, info->flags,