Build breakage: gnome-desktop



Hi,

a small things that break the current (annon-)cvs build of gnome-desktop:

make[3]: Entering directory `/home/gnomebuild/cvs/gnome24/gnome-desktop/gnome-ab
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wunused -Wmissing-prototypes -Wmissing-d
gnome-about.c: In function `load_random_header':
gnome-about.c:463: parse error before `char'
gnome-about.c:465: `message' undeclared (first use in this function)
gnome-about.c:465: (Each undeclared identifier is reported only once
gnome-about.c:465: for each function it appears in.)
make[3]: *** [gnome-about.o] Error 1

fixable by:

Index: gnome-about.c
===================================================================
RCS file: /cvs/gnome/gnome-desktop/gnome-about/gnome-about.c,v
retrieving revision 1.52
diff -u -r1.52 gnome-about.c
--- gnome-about.c       5 Jun 2003 20:04:40 -0000       1.52
+++ gnome-about.c       9 Jun 2003 14:05:01 -0000
@@ -458,9 +458,8 @@
        g_list_free (files);
 
        if (error) {
-               g_free (directory);
-
                char *message;
+
+               g_free (directory);
 
                message = g_strdup_printf (_("Unable to load header image: %s"),
                                           error->message);


I filed a Bug in Bugzilla, # is 114773

thanks for fixing,

Martin H.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]