From 6e515d204a3477cabe2d5dd934ee45406c528ab5 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sun, 12 Mar 2000 08:37:12 +0000 Subject: Removed function now that it is no CORBA server in the GUI. 2000-03-12 Federico Mena Quintero * gui/main.c (gnome_calendar_locate): Removed function now that it is no CORBA server in the GUI. (save_default_calendar): Removed function. Now the personal calendar server will take care of saving modified calendars when appropriate. (close_cmd): Do not call unregister_calendar_services(). * gui/eventedit.c (ee_ok): Do not save the calendar. * gui/gncal-day-panel.c (day_view_range_activated): Likewise. * gui/gncal-todo.c (ok_button): Likewise. (delete_todo): Likewise. * gui/gncal-full-day.c (delete_occurance): Likewise. (delete_appointment): Likewise. (unrecur_appointment): Likewise. (child_focus_out): Likewise. (update_from_drag_info): Likewise. * gui/gnome-cal.c (gnome_calendar_new): Removed obsolete call to create the CORBA server. * gui/gnome-cal.h (GnomeCalendar): Renamed `calc' field to `client'. * cal-client/cal-client.h (CalClient): Removed filename and corba_server fields. svn path=/trunk/; revision=2102 --- calendar/gui/gnome-cal.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'calendar/gui/gnome-cal.h') diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h index 6bdbf4ca1b..dbe2493a2f 100644 --- a/calendar/gui/gnome-cal.h +++ b/calendar/gui/gnome-cal.h @@ -2,26 +2,30 @@ * GnomeCalendar widget * Copyright (C) 1998 the Free Software Foundation * - * Author: Miguel de Icaza (miguel@kernel.org) + * Authors: Miguel de Icaza (miguel@kernel.org) + * Federico Mena-Quintero */ #ifndef GNOME_CALENDAR_APP_H #define GNOME_CALENDAR_APP_H -#include - -/*#include "calendar.h"*/ -#include "cal-client/cal-client.h" +#include +#include +#include +#include +#include BEGIN_GNOME_DECLS + + #define GNOME_CALENDAR(obj) GTK_CHECK_CAST(obj, gnome_calendar_get_type(), GnomeCalendar) #define GNOME_CALENDAR_CLASS(class) GTK_CHECK_CAST_CLASS(class, gnome_calendar_get_type(), GnomeCalendarClass) #define GNOME_IS_CALENDAR(obj) GTK_CHECK_TYPE(obj, gnome_calendar_get_type()) typedef struct { GnomeApp gnome_app; - CalClient *calc; /* was Calendar *cal; */ + CalClient *client; time_t current_display; GtkWidget *notebook; @@ -79,6 +83,7 @@ gnome_calendar_colors_changed (GnomeCalendar *gcal); void gnome_calendar_todo_properties_changed (GnomeCalendar *gcal); + END_GNOME_DECLS -- cgit