aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Malcolm <dave_malcolm@src.gnome.org>2004-05-11 03:27:21 +0800
committerDavid Malcolm <dave_malcolm@src.gnome.org>2004-05-11 03:27:21 +0800
commitee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf (patch)
tree750f53a02023c88804aba417441737abd1122dc5
parentaf7a39fcd9b14a36ffc906d21b60e484970a662b (diff)
downloadgsoc2013-evolution-ee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf.tar
gsoc2013-evolution-ee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf.tar.gz
gsoc2013-evolution-ee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf.tar.bz2
gsoc2013-evolution-ee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf.tar.lz
gsoc2013-evolution-ee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf.tar.xz
gsoc2013-evolution-ee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf.tar.zst
gsoc2013-evolution-ee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf.zip
Fixed warning
svn path=/trunk/; revision=25846
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-shell-offline-handler.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 7d09b2ffa0..d59e3bfc37 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-10 David Malcolm <dmalcolm@redhat.com>
+
+ * e-shell-offline-handler.c (cancel_offline): Fix warning
+
2004-05-10 JP Rosevear <jpr@ximian.com>
* main.c (show_development_warning): set title to just Evolution
diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c
index 52ff90d473..f99edf965d 100644
--- a/shell/e-shell-offline-handler.c
+++ b/shell/e-shell-offline-handler.c
@@ -372,7 +372,6 @@ cancel_offline (EShellOfflineHandler *offline_handler)
EComponentInfo *info = p->data;
GNOME_Evolution_Offline offline_interface;
CORBA_Environment ev;
- const char *id;
offline_interface = get_offline_interface (info->iface);
if (offline_interface == CORBA_OBJECT_NIL)
@@ -382,7 +381,7 @@ cancel_offline (EShellOfflineHandler *offline_handler)
GNOME_Evolution_Offline_goOnline (offline_interface, &ev);
if (ev._major != CORBA_NO_EXCEPTION)
- g_warning ("Error putting component `%s' on-line.", id);
+ g_warning ("Error putting component `%s' on-line.", info->id);
CORBA_exception_free (&ev);
}