aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2001-10-16 05:49:55 +0800
committerLarry Ewing <lewing@src.gnome.org>2001-10-16 05:49:55 +0800
commitdba5f1b79e693d501148d462b14d097d7600fe9d (patch)
tree9c1e96c218d33577b7181f9da635bf0ad714db24
parent327b4ddd88fa29c6a5e890e055f5bab999b37704 (diff)
downloadgsoc2013-evolution-dba5f1b79e693d501148d462b14d097d7600fe9d.tar.gz
gsoc2013-evolution-dba5f1b79e693d501148d462b14d097d7600fe9d.tar.zst
gsoc2013-evolution-dba5f1b79e693d501148d462b14d097d7600fe9d.zip
remove warnings.
2001-10-15 Larry Ewing <lewing@ximian.com> * gui/dialogs/comp-editor.c (set_icon_from_comp): remove warnings. svn path=/trunk/; revision=13686
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/gui/dialogs/comp-editor.c4
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);