adapted to changes in EComponentListener API. (query_construct): ditto.

2003-06-04  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/query.c (start_cached_query_cb): adapted to changes in
	EComponentListener API.
	(query_construct): ditto.

	* cal-client/cal-client.c (cal_opened_cb): ditto.

svn path=/trunk/; revision=21384
This commit is contained in:
Rodrigo Moya
2003-06-04 15:07:16 +00:00
committed by Rodrigo Moya
parent 750c4441ab
commit d1a4458b7d
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2003-06-04 Rodrigo Moya <rodrigo@ximian.com>
* pcs/query.c (start_cached_query_cb): adapted to changes in
EComponentListener API.
(query_construct): ditto.
* cal-client/cal-client.c (cal_opened_cb): ditto.
2003-06-02 Rodrigo Moya <rodrigo@ximian.com>
Fixes part of #43388

View File

@ -534,7 +534,7 @@ cal_opened_cb (CalListener *listener,
client_status = CAL_CLIENT_OPEN_SUCCESS;
/* setup component listener */
priv->comp_listener = e_component_listener_new (priv->cal, 0);
priv->comp_listener = e_component_listener_new (priv->cal);
g_signal_connect (G_OBJECT (priv->comp_listener), "component_died",
G_CALLBACK (backend_died_cb), client);
goto out;

View File

@ -1463,7 +1463,7 @@ start_cached_query_cb (gpointer data)
priv->state == QUERY_WAIT_FOR_BACKEND) {
priv->listeners = g_list_append (priv->listeners, info->ql);
cl = e_component_listener_new (info->ql, 0);
cl = e_component_listener_new (info->ql);
priv->component_listeners = g_list_append (priv->component_listeners, cl);
g_signal_connect (G_OBJECT (cl), "component_died",
G_CALLBACK (listener_died_cb), info->query);
@ -1534,7 +1534,7 @@ start_cached_query_cb (gpointer data)
/* setup private data and notify listener that the query ended */
priv->listeners = g_list_append (priv->listeners, info->ql);
cl = e_component_listener_new (info->ql, 0);
cl = e_component_listener_new (info->ql);
priv->component_listeners = g_list_append (priv->component_listeners, cl);
g_signal_connect (G_OBJECT (cl), "component_died",
G_CALLBACK (listener_died_cb), info->query);
@ -1637,7 +1637,7 @@ query_construct (Query *query,
}
CORBA_exception_free (&ev);
cl = e_component_listener_new (ql, 0);
cl = e_component_listener_new (ql);
priv->component_listeners = g_list_append (priv->component_listeners, cl);
g_signal_connect (G_OBJECT (cl), "component_died",
G_CALLBACK (listener_died_cb), query);