aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/config-data.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/alarm-notify/config-data.c')
-rw-r--r--calendar/gui/alarm-notify/config-data.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/calendar/gui/alarm-notify/config-data.c b/calendar/gui/alarm-notify/config-data.c
index 406c28abd6..12d7aefa47 100644
--- a/calendar/gui/alarm-notify/config-data.c
+++ b/calendar/gui/alarm-notify/config-data.c
@@ -174,12 +174,9 @@ config_data_replace_string_list (const gchar *key,
for (tmp = source; tmp; tmp = tmp->next) {
if (strcmp (tmp->data, old) == 0) {
- gboolean state;
-
g_free (tmp->data);
tmp->data = g_strdup ((gchar *) new);
- /* Should this be checked somewhere? */
- state = gconf_client_set_list (conf_client,
+ gconf_client_set_list (conf_client,
key,
GCONF_VALUE_STRING,
source,