libgnomeui patch and panel compilation problem



In the main branch, the panel doesn't compile anymore with the updated glib
(which removed the alloca-based functions).

The following fixes a bug in libgnomeui/gnome-init.c:

Index: gnome-init.c
===================================================================
RCS file: /cvs/gnome/gnome-libs/libgnomeui/gnome-init.c,v
retrieving revision 1.70
diff -u -r1.70 gnome-init.c
--- gnome-init.c 1999/01/11 23:02:07 1.70
+++ gnome-init.c 1999/01/12 16:49:33
@@ -611,7 +611,7 @@
     return;

   ctmp = gnome_config_file("/sound/events/gtk-events.soundlist");
-  ctmp2 = g_strconcat ("=", ctmp, "=");
+  ctmp2 = g_strconcat ("=", ctmp, "=", NULL);
   g_free (ctmp);
   iter_signames = gnome_config_init_iterator_sections(ctmp2);
   gnome_config_push_prefix(ctmp2);




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