diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-02-04 12:42:34 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 2000-02-04 12:42:34 +0800 |
commit | 5d56cdb0b37b4b8919df92ff35daf06934666061 (patch) | |
tree | 1721fac57d85fd8247b966d8ab7de312ca04aebe /calendar/cal-client/cal-listener.c | |
parent | d5c007ca4f4f12e354e3aae8b13706fb9e358599 (diff) | |
download | gsoc2013-evolution-5d56cdb0b37b4b8919df92ff35daf06934666061.tar gsoc2013-evolution-5d56cdb0b37b4b8919df92ff35daf06934666061.tar.gz gsoc2013-evolution-5d56cdb0b37b4b8919df92ff35daf06934666061.tar.bz2 gsoc2013-evolution-5d56cdb0b37b4b8919df92ff35daf06934666061.tar.lz gsoc2013-evolution-5d56cdb0b37b4b8919df92ff35daf06934666061.tar.xz gsoc2013-evolution-5d56cdb0b37b4b8919df92ff35daf06934666061.tar.zst gsoc2013-evolution-5d56cdb0b37b4b8919df92ff35daf06934666061.zip |
New function to create the base VObject for a calendar.
2000-02-04 Federico Mena Quintero <federico@helixcode.com>
* cal-backend.c (get_calendar_base_vobject): New function to
create the base VObject for a calendar.
(cal_backend_get_object): Create the base calendar and add the
sought object to it, then stringify it.
* evolution-calendar.idl (Listener::obj_added
Listener::obj_changed): Now these pass in just the UIDs, not the
complete objects.
* cal-listener.c (Listener_obj_added): Changed to pass in the uid,
not the object.
(Listener_obj_changed): Likewise.
* cal-client.h (CalClientClass): Made the obj_added and
obj_changed signals take in the UIDs, not the full objects.
* cal-client.c (obj_added_cb): Likewise.
(obj_changed_cb): Likewise.
svn path=/trunk/; revision=1666
Diffstat (limited to 'calendar/cal-client/cal-listener.c')
-rw-r--r-- | calendar/cal-client/cal-listener.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/cal-client/cal-listener.c b/calendar/cal-client/cal-listener.c index 62db9c287d..fee7e96024 100644 --- a/calendar/cal-client/cal-listener.c +++ b/calendar/cal-client/cal-listener.c @@ -269,14 +269,14 @@ Listener_cal_loaded (PortableServer_Servant servant, /* Listener::obj_added method */ static void Listener_obj_added (PortableServer_Servant servant, - Evolution_Calendar_CalObj calobj, + Evolution_Calendar_CalObjUID uid, CORBA_Environment *ev) { CalListener *listener; listener = CAL_LISTENER (bonobo_object_from_servant (servant)); gtk_signal_emit (GTK_OBJECT (listener), cal_listener_signals[OBJ_ADDED], - calobj); + uid); } /* Listener::obj_removed method */ @@ -295,14 +295,14 @@ Listener_obj_removed (PortableServer_Servant servant, /* Listener::obj_changed method */ static void Listener_obj_changed (PortableServer_Servant servant, - Evolution_Calendar_CalObj calobj, + Evolution_Calendar_CalObjUID uid, CORBA_Environment *ev) { CalListener *listener; listener = CAL_LISTENER (bonobo_object_from_servant (servant)); gtk_signal_emit (GTK_OBJECT (listener), cal_listener_signals[OBJ_CHANGED], - calobj); + uid); } /** |