[maemo-commits] [maemo-commits] r14138 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Sep 27 11:15:57 EEST 2007
Author: jobi
Date: 2007-09-27 11:15:56 +0300 (Thu, 27 Sep 2007)
New Revision: 14138

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-desktop.c
Log:

2007-09-27 Johan Bilien  <johan.bilien at nokia.com>

	* src/hd-desktop.c (hd_desktop_plugin_list_from_conf): duplicate
	the group name if we add it to the plugin list.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-27 08:14:06 UTC (rev 14137)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-27 08:15:56 UTC (rev 14138)
@@ -1,5 +1,10 @@
 2007-09-27 Johan Bilien  <johan.bilien at nokia.com>
 
+	* src/hd-desktop.c (hd_desktop_plugin_list_from_conf): duplicate
+	the group name if we add it to the plugin list.
+
+2007-09-27 Johan Bilien  <johan.bilien at nokia.com>
+
 	* src/hd-applications-menu.c (hd_applications_menu_activate_category):
 	fixed the leak of a GList
 

Modified: projects/haf/trunk/hildon-desktop/src/hd-desktop.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-09-27 08:14:06 UTC (rev 14137)
+++ projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-09-27 08:15:56 UTC (rev 14138)
@@ -506,7 +506,7 @@
     }      
 
     if (is_to_load)    
-      plugin_list = g_list_append (plugin_list, groups[i]);
+      plugin_list = g_list_append (plugin_list, g_strdup (groups[i]));
   }
 
   g_strfreev (groups);


More information about the maemo-commits mailing list