From f3c94fc0f415a4025add6debe451ca3e9e449d83 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 12 Jan 2000 04:13:36 +0000 Subject: Removed the CORBA listener methods, adjusted for the new IDL. 2000-01-11 Federico Mena Quintero * cal.c: Removed the CORBA listener methods, adjusted for the new IDL. * cal-listener.c (cal_listener_init): Create the private structure. In it we hold a reference to the calendar the listener is watching. (cal_listener_destroy): Destroy the private structure and unref the calendar. (Listener_cal_loaded): Stuff the calendar into our private data. (Listener_obj_added): Adjusted for new IDL. (Listener_obj_removed): Likewise. svn path=/trunk/; revision=1560 --- calendar/cal-client/cal-listener.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'calendar/cal-client/cal-listener.h') diff --git a/calendar/cal-client/cal-listener.h b/calendar/cal-client/cal-listener.h index aa502f3fb3..55772cb1ba 100644 --- a/calendar/cal-client/cal-listener.h +++ b/calendar/cal-client/cal-listener.h @@ -42,6 +42,9 @@ typedef struct _CalListenerClass CalListenerClass; struct _CalListener { GnomeObject object; + + /* Private data */ + gpointer priv; }; struct _CalListenerClass { @@ -61,6 +64,8 @@ GNOME_Calendar_Listener cal_listener_corba_object_create (GnomeObject *object); CalListener *cal_listener_new (void); +GNOME_Calendar_Cal cal_listener_get_calendar (CalListener *listener); + POA_GNOME_Calendar_Listener__epv *cal_listener_get_epv (void); -- cgit v1.2.3