From 5d498956659bfe5016aa46190507203fee694ddd Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 11 Aug 2009 22:19:16 -0400 Subject: Kill EMenu. --- calendar/gui/gnome-cal.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 4944630727..bec7a59ec9 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -68,7 +68,6 @@ /*#include "a11y/ea-calendar.h" KILL-BONOBO */ #include "common/authentication.h" #include "e-cal-popup.h" -#include "e-cal-menu.h" #define d(x) @@ -97,9 +96,6 @@ struct _GnomeCalendarPrivate { ECalendar *date_navigator; - /* plugin menu managers */ - ECalMenu *calendar_menu; - /* Calendar query for the date navigator */ GList *dn_queries; /* list of CalQueries */ gchar *sexp; @@ -1383,8 +1379,6 @@ gnome_calendar_init (GnomeCalendar *gcal) setup_widgets (gcal); - priv->calendar_menu = e_cal_menu_new("org.gnome.evolution.calendar.view"); - priv->dn_queries = NULL; priv->sexp = g_strdup ("#t"); /* Match all */ priv->todo_sexp = g_strdup ("#t"); @@ -1475,11 +1469,6 @@ gnome_calendar_destroy (GtkObject *object) priv->update_marcus_bains_line_timeout = 0; } - if (priv->calendar_menu) { - g_object_unref (priv->calendar_menu); - priv->calendar_menu = NULL; - } - /* Disconnect all handlers */ view = gnome_calendar_get_calendar_view ( gcal, GNOME_CAL_WEEK_VIEW); @@ -3008,14 +2997,6 @@ gnome_calendar_purge (GnomeCalendar *gcal, time_t older_than) } -ECalMenu * -gnome_calendar_get_calendar_menu (GnomeCalendar *gcal) -{ - g_return_val_if_fail (GNOME_IS_CALENDAR (gcal), NULL); - - return gcal->priv->calendar_menu; -} - void gnome_calendar_edit_appointment (GnomeCalendar *gcal, const gchar * src_uid, -- cgit