[empathy: 5/7] use tp_g_signal_connect_object
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 5/7] use tp_g_signal_connect_object
- Date: Thu, 25 Nov 2010 09:26:19 +0000 (UTC)
commit 5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Nov 23 13:46:09 2010 +0100
use tp_g_signal_connect_object
src/empathy-notifications-approver.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/empathy-notifications-approver.c b/src/empathy-notifications-approver.c
index 0097d8e..2fd6534 100644
--- a/src/empathy-notifications-approver.c
+++ b/src/empathy-notifications-approver.c
@@ -352,12 +352,12 @@ empathy_notifications_approver_init (EmpathyNotificationsApprover *self)
self->priv->event_mgr = empathy_event_manager_dup_singleton ();
self->priv->notify_mgr = empathy_notify_manager_dup_singleton ();
- g_signal_connect (self->priv->event_mgr, "event-added",
- G_CALLBACK (event_added_cb), self);
- g_signal_connect (priv->event_mgr, "event-removed",
- G_CALLBACK (event_removed_cb), self);
- g_signal_connect (priv->event_mgr, "event-updated",
- G_CALLBACK (event_updated_cb), self);
+ tp_g_signal_connect_object (self->priv->event_mgr, "event-added",
+ G_CALLBACK (event_added_cb), self, 0);
+ tp_g_signal_connect_object (priv->event_mgr, "event-removed",
+ G_CALLBACK (event_removed_cb), self, 0);
+ tp_g_signal_connect_object (priv->event_mgr, "event-updated",
+ G_CALLBACK (event_updated_cb), self, 0);
}
EmpathyNotificationsApprover *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]