ekiga r5907 - in trunk: . lib/gmconf



Author: dsandras
Date: Sun Jan 13 18:49:39 2008
New Revision: 5907
URL: http://svn.gnome.org/viewvc/ekiga?rev=5907&view=rev

Log:
We should not return a list containing internal data.


Modified:
   trunk/ChangeLog
   trunk/lib/gmconf/gmconf-gconf.c

Modified: trunk/lib/gmconf/gmconf-gconf.c
==============================================================================
--- trunk/lib/gmconf/gmconf-gconf.c	(original)
+++ trunk/lib/gmconf/gmconf-gconf.c	Sun Jan 13 18:49:39 2008
@@ -379,7 +379,7 @@
   it = gconf_value_get_list (gconf_entry->value);
   while (it) {
 
-    list = g_slist_append (list, (char *) gconf_value_get_string (it->data));
+    list = g_slist_append (list, g_strdup ((char *) gconf_value_get_string (it->data)));
     it = g_slist_next (it);
   }
 



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