aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/cal-listener.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-02-02 17:51:20 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-02-02 17:51:20 +0800
commit9d6fc52249f34b5a3985bea8ace18059be9e4bba (patch)
tree59ac26466d87061d4573e72fe228d47b77dbb318 /calendar/cal-client/cal-listener.c
parent9d4be61768f69a0aff9daa55c088724d0d5a54a6 (diff)
downloadgsoc2013-evolution-9d6fc52249f34b5a3985bea8ace18059be9e4bba.tar
gsoc2013-evolution-9d6fc52249f34b5a3985bea8ace18059be9e4bba.tar.gz
gsoc2013-evolution-9d6fc52249f34b5a3985bea8ace18059be9e4bba.tar.bz2
gsoc2013-evolution-9d6fc52249f34b5a3985bea8ace18059be9e4bba.tar.lz
gsoc2013-evolution-9d6fc52249f34b5a3985bea8ace18059be9e4bba.tar.xz
gsoc2013-evolution-9d6fc52249f34b5a3985bea8ace18059be9e4bba.tar.zst
gsoc2013-evolution-9d6fc52249f34b5a3985bea8ace18059be9e4bba.zip
Added the get_object() method.
2000-02-03 Federico Mena Quintero <federico@helixcode.com> * evolution-calendar.idl (Cal): Added the get_object() method. * cal-client.c (cal_client_get_object): New function to get a calendar object by its UID. * cal.c (Cal_get_object): Implemented. * cal-backend.c (cal_backend_get_object): New unfinished backend function. We need some reorganizing of how the calendar objects are stored. svn path=/trunk/; revision=1663
Diffstat (limited to 'calendar/cal-client/cal-listener.c')
-rw-r--r--calendar/cal-client/cal-listener.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/calendar/cal-client/cal-listener.c b/calendar/cal-client/cal-listener.c
index b1f91e8d8f..62db9c287d 100644
--- a/calendar/cal-client/cal-listener.c
+++ b/calendar/cal-client/cal-listener.c
@@ -20,6 +20,7 @@
*/
#include <config.h>
+#include <gtk/gtksignal.h>
#include "cal-listener.h"
@@ -248,11 +249,11 @@ Listener_cal_loaded (PortableServer_Servant servant,
priv->cal = cal_copy;
switch (status) {
- Evolution_Calendar_Listener_SUCESSS:
+ case Evolution_Calendar_Listener_SUCCESS:
load_status = CAL_LISTENER_LOAD_SUCCESS;
break;
- Evolution_Calendar_Listener_ERROR:
+ case Evolution_Calendar_Listener_ERROR:
load_status = CAL_LISTENER_LOAD_ERROR;
break;
@@ -408,7 +409,7 @@ cal_listener_new (void)
if (ev._major != CORBA_NO_EXCEPTION || result) {
g_message ("cal_listener_new(): could not create the CORBA listener");
- gtk_object_destroy (listener);
+ gtk_object_unref (GTK_OBJECT (listener));
CORBA_exception_free (&ev);
return NULL;
}