aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>2000-01-18 14:17:26 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-18 14:17:26 +0800
commitc820a35c23f65807cc0eaaa0f39ec51b98e06192 (patch)
tree828a64b007ca7d0143e1e8395b5495330e791d37 /calendar/cal-client
parent2f1705c6c0d747e708a34b089c4b6ebfc7832022 (diff)
downloadgsoc2013-evolution-c820a35c23f65807cc0eaaa0f39ec51b98e06192.tar
gsoc2013-evolution-c820a35c23f65807cc0eaaa0f39ec51b98e06192.tar.gz
gsoc2013-evolution-c820a35c23f65807cc0eaaa0f39ec51b98e06192.tar.bz2
gsoc2013-evolution-c820a35c23f65807cc0eaaa0f39ec51b98e06192.tar.lz
gsoc2013-evolution-c820a35c23f65807cc0eaaa0f39ec51b98e06192.tar.xz
gsoc2013-evolution-c820a35c23f65807cc0eaaa0f39ec51b98e06192.tar.zst
gsoc2013-evolution-c820a35c23f65807cc0eaaa0f39ec51b98e06192.zip
Sync - Federico
svn path=/trunk/; revision=1585
Diffstat (limited to 'calendar/cal-client')
-rw-r--r--calendar/cal-client/cal-listener.c9
-rw-r--r--calendar/cal-client/cal-listener.h3
2 files changed, 5 insertions, 7 deletions
diff --git a/calendar/cal-client/cal-listener.c b/calendar/cal-client/cal-listener.c
index 581f7eeb6e..2c3ffe119d 100644
--- a/calendar/cal-client/cal-listener.c
+++ b/calendar/cal-client/cal-listener.c
@@ -108,9 +108,8 @@ cal_listener_class_init (CalListenerClass *class)
GTK_RUN_FIRST,
object_class->type,
GTK_SIGNAL_OFFSET (CalListenerClass, cal_loaded),
- gtk_marshal_NONE__POINTER_POINTER,
- GTK_TYPE_NONE, 2,
- GTK_TYPE_POINTER,
+ gtk_marshal_NONE__POINTER,
+ GTK_TYPE_NONE, 1,
GTK_TYPE_POINTER);
cal_listener_signals[OBJ_ADDED] =
gtk_signal_new ("obj_added",
@@ -205,7 +204,6 @@ cal_listener_destroy (GtkObject *object)
static void
Listener_cal_loaded (PortableServer_Servant servant,
GNOME_Calendar_Cal cal,
- GNOME_Calendar_CalObj calobj,
CORBA_Environment *ev)
{
CalListener *listener;
@@ -215,8 +213,9 @@ Listener_cal_loaded (PortableServer_Servant servant,
priv = listener->priv;
priv->cal = CORBA_Object_duplicate (cal, ev);
+ GNOME_Unknown_ref (priv->cal);
gtk_signal_emit (GTK_OBJECT (listener), cal_listener_signals[CAL_LOADED],
- cal, calobj);
+ cal);
}
/* Listener::obj_added method */
diff --git a/calendar/cal-client/cal-listener.h b/calendar/cal-client/cal-listener.h
index 55772cb1ba..41665b2b58 100644
--- a/calendar/cal-client/cal-listener.h
+++ b/calendar/cal-client/cal-listener.h
@@ -50,8 +50,7 @@ struct _CalListener {
struct _CalListenerClass {
GnomeObjectClass parent_class;
- void (* cal_loaded) (CalListener *listener, GNOME_Calendar_Cal cal,
- GNOME_Calendar_CalObj calobj);
+ void (* cal_loaded) (CalListener *listener, GNOME_Calendar_Cal cal);
void (* obj_added) (CalListener *listener, GNOME_Calendar_CalObj calobj);
void (* obj_removed) (CalListener *listener, GNOME_Calendar_CalObjUID uid);
void (* obj_changed) (CalListener *listener, GNOME_Calendar_CalObj calobj);