aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-08 20:50:35 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-08 20:50:35 +0800
commit91ae7ee19cb97668a649cd2375d995f8ce7838db (patch)
tree808b5b70cde3148e600a04005ff422213e2b64c2
parent3f218d9d63740d23f75edc4e818655268dc52e06 (diff)
downloadgsoc2013-evolution-91ae7ee19cb97668a649cd2375d995f8ce7838db.tar
gsoc2013-evolution-91ae7ee19cb97668a649cd2375d995f8ce7838db.tar.gz
gsoc2013-evolution-91ae7ee19cb97668a649cd2375d995f8ce7838db.tar.bz2
gsoc2013-evolution-91ae7ee19cb97668a649cd2375d995f8ce7838db.tar.lz
gsoc2013-evolution-91ae7ee19cb97668a649cd2375d995f8ce7838db.tar.xz
gsoc2013-evolution-91ae7ee19cb97668a649cd2375d995f8ce7838db.tar.zst
gsoc2013-evolution-91ae7ee19cb97668a649cd2375d995f8ce7838db.zip
Fix const warning.
svn path=/trunk/; revision=2916
-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;