aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-09-26 05:12:41 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-09-26 05:12:41 +0800
commit3c4c88c9741faaa1e3d466fb1458dd4f212b42eb (patch)
treebf2e89129b5b11e15dce7107194ad3b194adba2c /calendar/gui/dialogs
parent6dc2b5fac8deaa57b0a84f74dec98476a3066849 (diff)
downloadgsoc2013-evolution-3c4c88c9741faaa1e3d466fb1458dd4f212b42eb.tar.gz
gsoc2013-evolution-3c4c88c9741faaa1e3d466fb1458dd4f212b42eb.tar.zst
gsoc2013-evolution-3c4c88c9741faaa1e3d466fb1458dd4f212b42eb.zip
Warning fixes courtesy of Chris Lahey <clahey@ximian.com>.
2001-09-25 Federico Mena Quintero <federico@ximian.com> Warning fixes courtesy of Chris Lahey <clahey@ximian.com>. * gui/e-itip-control.c (write_html): Warning fixes. Also, don't strdup() more than necessary. * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb): Warning fixes. * gui/itip-utils.c (itip_addresses_get): Warning fixes. * gui/print.c (print_day_background): Warning fixes. * gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Warning fixes. (alarm_to_palarm_widgets): Likewise. * gui/dialogs/delete-comp.c: #include "../calendar-config.h" svn path=/trunk/; revision=13120
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/alarm-options.c4
-rw-r--r--calendar/gui/dialogs/delete-comp.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/alarm-options.c b/calendar/gui/dialogs/alarm-options.c
index 1835e8fa9d..27e2f681bc 100644
--- a/calendar/gui/dialogs/alarm-options.c
+++ b/calendar/gui/dialogs/alarm-options.c
@@ -206,7 +206,7 @@ static void
alarm_to_aalarm_widgets (Dialog *dialog, CalComponentAlarm *alarm)
{
icalattach *attach;
- char *url;
+ const char *url;
cal_component_alarm_get_attach (alarm, &attach);
@@ -258,7 +258,7 @@ alarm_to_palarm_widgets (Dialog *dialog, CalComponentAlarm *alarm)
cal_component_alarm_get_description (alarm, &description);
if (attach) {
- char *url;
+ const char *url;
if (icalattach_get_is_url (attach)) {
url = icalattach_get_url (attach);
diff --git a/calendar/gui/dialogs/delete-comp.c b/calendar/gui/dialogs/delete-comp.c
index 39755832cb..5114e0af92 100644
--- a/calendar/gui/dialogs/delete-comp.c
+++ b/calendar/gui/dialogs/delete-comp.c
@@ -30,6 +30,7 @@
#include <libgnomeui/gnome-dialog-util.h>
#include <libgnomeui/gnome-uidefs.h>
#include <gal/widgets/e-unicode.h>
+#include "../calendar-config.h"
#include "delete-comp.h"