aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-commands.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-26 03:50:54 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-26 03:50:54 +0800
commitae6031ecceb5dc02d5dafad6b31378021f358338 (patch)
tree61634b1c9d49973a69e27bd6d5baa953aca4404f /calendar/gui/calendar-commands.c
parentabc010d5a55c5715a6aa8deff0e7adeb316ca3a5 (diff)
downloadgsoc2013-evolution-ae6031ecceb5dc02d5dafad6b31378021f358338.tar.gz
gsoc2013-evolution-ae6031ecceb5dc02d5dafad6b31378021f358338.tar.zst
gsoc2013-evolution-ae6031ecceb5dc02d5dafad6b31378021f358338.zip
hook for widget destroy -- used to unref the CalClient so wombat knows we
* gui/gnome-cal.c (gnome_calendar_destroy): hook for widget destroy -- used to unref the CalClient so wombat knows we are gone. (gnome_calendar_class_init): added a class init for this widget. svn path=/trunk/; revision=2613
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r--calendar/gui/calendar-commands.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c
index 4820c2892e..254030c675 100644
--- a/calendar/gui/calendar-commands.c
+++ b/calendar/gui/calendar-commands.c
@@ -338,16 +338,6 @@ close_cmd (BonoboUIHandler *uih, void *user_data, const char *path)
GnomeCalendar *gcal = GNOME_CALENDAR (user_data);
all_calendars = g_list_remove (all_calendars, gcal);
- /* DELETE
- FIXME -- what do i do here?
- if (gcal->cal->modified){
- if (!gcal->cal->filename)
- save_calendar_cmd (widget, gcal);
- else
- calendar_save (gcal->cal, gcal->cal->filename);
- }
- */
-
gtk_widget_destroy (GTK_WIDGET (gcal));
active_calendars--;