diff options
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <lewing@ximian.com> + + * gui/dialogs/comp-editor.c (set_icon_from_comp): remove warnings. + 2001-10-15 JP Rosevear <jpr@ximian.com> * 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 <gal/widgets/e-unicode.h> #include <libgnomeui/gnome-dialog.h> #include <libgnomeui/gnome-dialog-util.h> +#include <libgnomeui/gnome-window-icon.h> #include <evolution-shell-component-utils.h> #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); |