make legal C

2002-10-04  jacob berkman  <jacob@ximian.com>

	* queryloaders.c (query_module): make legal C
This commit is contained in:
jacob berkman
2002-10-04 05:23:13 +00:00
committed by Jacob Berkman
parent ccc2ccf221
commit 562e3caf49
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-10-04 jacob berkman <jacob@ximian.com>
* queryloaders.c (query_module): make legal C
2002-10-04 Matthias Clasen <maclas@gmx.de>
* Makefile.am gdk-pixbuf-animation.c gdk-pixbuf-data.c

View File

@ -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,