aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/cal-client.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>2000-01-31 07:47:42 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-31 07:47:42 +0800
commita2d268b3d195589ab41ddf2e13eaf45040e86803 (patch)
tree9eab3857b5393a7129a09d1a1ab3a6c82dca5d8d /calendar/cal-client/cal-client.c
parent6f3fcd5ccd7d70bd270c354f9e019368099f866e (diff)
downloadgsoc2013-evolution-a2d268b3d195589ab41ddf2e13eaf45040e86803.tar
gsoc2013-evolution-a2d268b3d195589ab41ddf2e13eaf45040e86803.tar.gz
gsoc2013-evolution-a2d268b3d195589ab41ddf2e13eaf45040e86803.tar.bz2
gsoc2013-evolution-a2d268b3d195589ab41ddf2e13eaf45040e86803.tar.lz
gsoc2013-evolution-a2d268b3d195589ab41ddf2e13eaf45040e86803.tar.xz
gsoc2013-evolution-a2d268b3d195589ab41ddf2e13eaf45040e86803.tar.zst
gsoc2013-evolution-a2d268b3d195589ab41ddf2e13eaf45040e86803.zip
Sync to desktop - Federico
svn path=/trunk/; revision=1657
Diffstat (limited to 'calendar/cal-client/cal-client.c')
-rw-r--r--calendar/cal-client/cal-client.c9
1 files changed, 6 insertions, 3 deletions
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 <config.h>
+#include <gtk/gtksignal.h>
+#include <libgnorba/gnorba.h>
#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);