projects
/
cl-launcher
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
527bf2d
)
Fixed crash of control panel applet if no gconf keys are set.
author
Roman Moravcik
<roman.moravcik@gmail.com>
Wed, 13 Oct 2010 15:01:05 +0000
(17:01 +0200)
committer
Roman Moravcik
<roman.moravcik@gmail.com>
Wed, 13 Oct 2010 15:01:05 +0000
(17:01 +0200)
src/cl-cpapplet.c
patch
|
blob
|
history
diff --git
a/src/cl-cpapplet.c
b/src/cl-cpapplet.c
index
6fc9c44
..
a0fbb13
100644
(file)
--- a/
src/cl-cpapplet.c
+++ b/
src/cl-cpapplet.c
@@
-365,8
+365,8
@@
load_configuration (CLLauncherAppletData *data)
/* read aplication list from gconf */
application_list = gconf_get_string_list (data->gconf_client, "application_list");
if (application_list == NULL) {
/* read aplication list from gconf */
application_list = gconf_get_string_list (data->gconf_client, "application_list");
if (application_list == NULL) {
- application_list = g_slist_append (application_list, CAMERA_APPLICATION_DESKTOP_FILE);
- application_list = g_slist_append (application_list, FLASHLIGHT_APPLET_DESKTOP_FILE);
+ application_list = g_slist_append (application_list, g_strdup (CAMERA_APPLICATION_DESKTOP_FILE));
+ application_list = g_slist_append (application_list, g_strdup (FLASHLIGHT_APPLET_DESKTOP_FILE));
}
for (entry = application_list; entry; entry = entry->next) {
}
for (entry = application_list; entry; entry = entry->next) {