aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-shortcuts.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 821c988da2..58ee77ce1c 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-08 Ettore Perazzoli <ettore@helixcode.com>
+
+ * e-shortcuts.c (load_shortcuts): Const fix.
+
2000-05-08 Larry Ewing <lewing@helixcode.com>
* e-shortcuts.c (load_shortcuts_into_view): xmlFree the return
diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c
index aeacec2752..da8326f9a6 100644
--- a/shell/e-shortcuts.c
+++ b/shell/e-shortcuts.c
@@ -140,12 +140,12 @@ load_shortcuts (EShortcuts *shortcuts,
for (p = root->childs; p != NULL; p = p->next) {
ShortcutGroup *shortcut_group;
- const char *shortcut_group_title;
+ char *shortcut_group_title;
if (strcmp ((char *) p->name, "group") != 0)
continue;
- shortcut_group_title = (const char *) xmlGetProp (p, "title");
+ shortcut_group_title = (char *) xmlGetProp (p, "title");
if (shortcut_group_title == NULL)
continue;