aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 20:24:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 20:24:35 +0800
commite4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (patch)
tree69946f3b8fb0c7cf1a0b73bec4b646a9996e5821 /calendar/gui/itip-utils.c
parent1868c9e675073dfa824dc12e1c2fa3cc1929f70b (diff)
downloadgsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.gz
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.zst
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.zip
Fix compiler warnings in calendar.
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 829ac287ce..30ad9822c7 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -40,7 +40,7 @@
#include <mail/em-composer-utils.h>
#include <camel/camel-mime-filter-tohtml.h>
-static gchar *itip_methods[] = {
+static const gchar *itip_methods[] = {
"PUBLISH",
"REQUEST",
"REPLY",
@@ -1373,7 +1373,7 @@ reply_to_calendar_comp (ECalComponentItipMethod method,
GString *body;
char *orig_from = NULL;
- char *description = NULL;
+ const char *description = NULL;
char *subject = NULL;
const char *location = NULL;
char *time = NULL;
@@ -1390,7 +1390,7 @@ reply_to_calendar_comp (ECalComponentItipMethod method,
if (text_list){
ECalComponentText text = *((ECalComponentText *)text_list->data);
if (text.value)
- description = (char *)text.value;
+ description = text.value;
else
description = "";
} else {