From dba5f1b79e693d501148d462b14d097d7600fe9d Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Mon, 15 Oct 2001 21:49:55 +0000 Subject: remove warnings. 2001-10-15 Larry Ewing * gui/dialogs/comp-editor.c (set_icon_from_comp): remove warnings. svn path=/trunk/; revision=13686 --- calendar/ChangeLog | 4 ++++ calendar/gui/dialogs/comp-editor.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e55c9b0601..3839736b37 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,7 @@ +2001-10-15 Larry Ewing + + * gui/dialogs/comp-editor.c (set_icon_from_comp): remove warnings. + 2001-10-15 JP Rosevear * conduits/calendar/calendar-conduit.c (process_multi_day): diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 2ae92ac9c3..46b60e56e9 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include "../print.h" #include "save-comp.h" @@ -661,7 +662,6 @@ static const char * make_icon_from_comp (CalComponent *comp) { CalComponentVType type; - const char *icon_path; if (!comp) return EVOLUTION_ICONSDIR "/evolution-calendar-mini.png"; @@ -696,7 +696,7 @@ static void set_icon_from_comp (CompEditor *editor) { CompEditorPrivate *priv; - char *file; + const char *file; priv = editor->priv; file = make_icon_from_comp (priv->comp); -- cgit v1.2.3