diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-11-23 20:46:09 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-11-23 20:46:20 +0800 |
commit | 5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a (patch) | |
tree | e526f6b2f25b6f36267769fb234d7f069f2aeb13 /src/empathy-notifications-approver.c | |
parent | 42547ca133381bad23066b1513fde237632515c7 (diff) | |
download | gsoc2013-empathy-5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a.tar gsoc2013-empathy-5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a.tar.gz gsoc2013-empathy-5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a.tar.bz2 gsoc2013-empathy-5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a.tar.lz gsoc2013-empathy-5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a.tar.xz gsoc2013-empathy-5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a.tar.zst gsoc2013-empathy-5196ab5cec62faae3ae7eaa3b3a9529fe7a2c33a.zip |
use tp_g_signal_connect_object
Diffstat (limited to 'src/empathy-notifications-approver.c')
-rw-r--r-- | 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 0097d8e6c..2fd6534be 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 * |