aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/query-listener.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-09-26 19:14:56 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-09-26 19:14:56 +0800
commitfaad22f59697728e87601c46d17605426ed46b6b (patch)
tree7eb7a0b8b7f47fc2e4c69832542903b89d61202e /calendar/cal-client/query-listener.c
parent3cb66ed22a86f8e193f4a28cb8cc3ddd31f427bd (diff)
downloadgsoc2013-evolution-faad22f59697728e87601c46d17605426ed46b6b.tar
gsoc2013-evolution-faad22f59697728e87601c46d17605426ed46b6b.tar.gz
gsoc2013-evolution-faad22f59697728e87601c46d17605426ed46b6b.tar.bz2
gsoc2013-evolution-faad22f59697728e87601c46d17605426ed46b6b.tar.lz
gsoc2013-evolution-faad22f59697728e87601c46d17605426ed46b6b.tar.xz
gsoc2013-evolution-faad22f59697728e87601c46d17605426ed46b6b.tar.zst
gsoc2013-evolution-faad22f59697728e87601c46d17605426ed46b6b.zip
Should fix once for all #24210
2002-09-26 Rodrigo Moya <rodrigo@ximian.com> Should fix once for all #24210 * idl/evolution-calendar.idl: changed the notifyObjUpdated method of the QueryListener interface accept a list of UIDs. * cal-client/query-listener.[ch] (impl_notifyObjUpdated): likewise for the QueryListener class. * cal-client/cal-query.c (obj_updated_cb): changed to adapt the multiple-id's received in the QueryListener class' signal to the one-by-one update notification of the public CalQuery class, thus keeping the changes needed for this minimal. * pcs/query.c (add_component, start_cached_query_cb): changed to send sequences of UIDs. svn path=/trunk/; revision=18232
Diffstat (limited to 'calendar/cal-client/query-listener.c')
-rw-r--r--calendar/cal-client/query-listener.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/cal-client/query-listener.c b/calendar/cal-client/query-listener.c
index 1b21c1e667..ab02f2faca 100644
--- a/calendar/cal-client/query-listener.c
+++ b/calendar/cal-client/query-listener.c
@@ -47,7 +47,7 @@ static void query_listener_init (QueryListener *ql);
static void query_listener_destroy (GtkObject *object);
static void impl_notifyObjUpdated (PortableServer_Servant servant,
- GNOME_Evolution_Calendar_CalObjUID uid,
+ GNOME_Evolution_Calendar_CalObjUIDSeq *uids,
CORBA_boolean query_in_progress,
CORBA_long n_scanned,
CORBA_long total,
@@ -146,7 +146,7 @@ query_listener_destroy (GtkObject *object)
/* ::notifyObjUpdated() method */
static void
impl_notifyObjUpdated (PortableServer_Servant servant,
- GNOME_Evolution_Calendar_CalObjUID uid,
+ GNOME_Evolution_Calendar_CalObjUIDSeq *uids,
CORBA_boolean query_in_progress,
CORBA_long n_scanned,
CORBA_long total,
@@ -162,7 +162,7 @@ impl_notifyObjUpdated (PortableServer_Servant servant,
return;
g_assert (priv->obj_updated_fn != NULL);
- (* priv->obj_updated_fn) (ql, uid, query_in_progress, n_scanned, total, priv->fn_data);
+ (* priv->obj_updated_fn) (ql, uids, query_in_progress, n_scanned, total, priv->fn_data);
}
/* ::notifyObjRemoved() method */