aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-10-08 04:39:11 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-10-08 04:39:11 +0800
commit63e2099d75600e4f83849f38f5390074a91e26fc (patch)
tree459bc1742d82c675b240837d614f0fca2efba207 /calendar
parent97acafac6ef6bc099688e5c2622edd1de3e27633 (diff)
downloadgsoc2013-evolution-63e2099d75600e4f83849f38f5390074a91e26fc.tar.gz
gsoc2013-evolution-63e2099d75600e4f83849f38f5390074a91e26fc.tar.zst
gsoc2013-evolution-63e2099d75600e4f83849f38f5390074a91e26fc.zip
guard config.h include, kill warning and remove useless include
2004-10-07 JP Rosevear <jpr@novell.com> * gui/calendar-commands.c: guard config.h include, kill warning and remove useless include svn path=/trunk/; revision=27500
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/calendar-commands.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 8497dbdb21..e87b28afe7 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-07 JP Rosevear <jpr@novell.com>
+
+ * gui/calendar-commands.c: guard config.h include, kill warning
+ and remove useless include
+
2004-10-06 Rodrigo Moya <rodrigo@novell.com>
Fixes #65932
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c
index 0755ca6863..e3ebf3a6da 100644
--- a/calendar/gui/calendar-commands.c
+++ b/calendar/gui/calendar-commands.c
@@ -24,7 +24,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <pwd.h>
#include <unistd.h>
#include <sys/types.h>
@@ -48,7 +51,6 @@
#include <libgnome/gnome-i18n.h>
#include <bonobo/bonobo-ui-util.h>
#include <bonobo/bonobo-exception.h>
-#include <gal/util/e-util.h>
#include <libecal/e-cal-time-util.h>
#include "shell/Evolution.h"
#include "calendar-commands.h"
@@ -80,7 +82,7 @@ file_open_event_cb (BonoboUIComponent *uic, gpointer data, const char *path)
gcal = GNOME_CALENDAR (data);
- e_calendar_view_open_event (gnome_calendar_get_current_view_widget (gcal));
+ e_calendar_view_open_event (E_CALENDAR_VIEW (gnome_calendar_get_current_view_widget (gcal)));
}