From 91ae7ee19cb97668a649cd2375d995f8ce7838db Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 8 May 2000 12:50:35 +0000 Subject: Fix const warning. svn path=/trunk/; revision=2916 --- shell/ChangeLog | 4 ++++ shell/e-shortcuts.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'shell') 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 + + * e-shortcuts.c (load_shortcuts): Const fix. + 2000-05-08 Larry Ewing * 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; -- cgit v1.2.3