summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/queryloaders.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-04 05:46:51 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-04 05:46:51 +0000
commit90f2dcabd68a392c953ba81c876e2b5454b94a7e (patch)
tree3674803b1a49b45fc0e41edbbce8adf2ea5fbf60 /gdk-pixbuf/queryloaders.c
parent022ac470a3d300490eca30607df9e8e62df3a6b4 (diff)
downloadgdk-pixbuf-90f2dcabd68a392c953ba81c876e2b5454b94a7e.tar.gz
make it legal C
Thu Oct 3 22:38:12 2002 Manish Singh <yosh@gimp.org> * gdk-pixbuf/queryloaders.c: make it 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 782233fa4..02ee35273 100644
--- a/gdk-pixbuf/queryloaders.c
+++ b/gdk-pixbuf/queryloaders.c
@@ -119,6 +119,7 @@ int main (int argc, char **argv)
if (argc == 1) {
#ifdef USE_GMODULE
const char *path;
+ GDir *dir;
path = g_getenv ("GDK_PIXBUF_MODULEDIR");
if (path == NULL || *path == '\0')
@@ -126,7 +127,7 @@ int main (int argc, char **argv)
printf ("# LoaderDir = %s\n#\n", path);
- GDir *dir = g_dir_open (path, 0, NULL);
+ dir = g_dir_open (path, 0, NULL);
if (dir) {
const char *dent;