From a2d268b3d195589ab41ddf2e13eaf45040e86803 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Sun, 30 Jan 2000 23:47:42 +0000 Subject: Sync to desktop - Federico svn path=/trunk/; revision=1657 --- calendar/cal-client/cal-client.c | 9 ++++++--- calendar/cal-client/cal-client.h | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'calendar/cal-client') diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c index bfb496528c..1458a41b4b 100644 --- a/calendar/cal-client/cal-client.c +++ b/calendar/cal-client/cal-client.c @@ -20,6 +20,8 @@ */ #include +#include +#include #include "cal-client.h" #include "cal-listener.h" @@ -231,7 +233,7 @@ cal_client_new (void) if (!cal_client_construct (client)) { g_message ("cal_client_new(): could not construct the calendar client"); - gtk_object_unref (client); + gtk_object_unref (GTK_OBJECT (client)); return NULL; } @@ -270,7 +272,8 @@ cal_client_load_calendar (CalClient *client, const char *str_uri) return FALSE; } - corba_listener = (Evolution_Calendar_Listener) bonobo_object_corba_objref (priv->listener); + corba_listener = (Evolution_Calendar_Listener) bonobo_object_corba_objref ( + BONOBO_OBJECT (priv->listener)); CORBA_exception_init (&ev); @@ -279,7 +282,7 @@ cal_client_load_calendar (CalClient *client, const char *str_uri) if (ev._major != CORBA_NO_EXCEPTION) { g_message ("cal_client_load_calendar(): load request failed"); - gtk_object_unref (priv->listener); + gtk_object_unref (GTK_OBJECT (priv->listener)); priv->listener = NULL; priv->load_state = LOAD_STATE_NOT_LOADED; CORBA_exception_free (&ev); diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h index 95895f6079..1056fd1022 100644 --- a/calendar/cal-client/cal-client.h +++ b/calendar/cal-client/cal-client.h @@ -63,7 +63,7 @@ CalClient *cal_client_construct (CalClient *client); CalClient *cal_client_new (void); -void cal_client_load_calendar (CalClient *client, const char *str_uri); +gboolean cal_client_load_calendar (CalClient *client, const char *str_uri); -- cgit v1.2.3