summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-05-24 15:29:47 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-05-24 15:29:47 +0200
commit06a14ea83b6f301eab4de9488df89838db4b2589 (patch)
treec3c1a79dbd46b21ca64644b5c28232e7312463b9
parent7e2db943e0c9a6f5764504460e64ffec9bb87d67 (diff)
new-chatroom-dialog: use tp_g_signal_connect_object()
https://bugzilla.gnome.org/show_bug.cgi?id=696151
-rw-r--r--src/empathy-new-chatroom-dialog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index 5de844bd..58cc3fde 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -506,12 +506,12 @@ new_room_list_cb (GObject *source,
return;
}
- g_signal_connect (self->priv->room_list, "got-room",
- G_CALLBACK (new_chatroom_dialog_got_room_cb), self);
- g_signal_connect (self->priv->room_list, "failed",
- G_CALLBACK (listing_failed_cb), self);
- g_signal_connect (self->priv->room_list, "notify::listing",
- G_CALLBACK (new_chatroom_dialog_listing_cb), self);
+ tp_g_signal_connect_object (self->priv->room_list, "got-room",
+ G_CALLBACK (new_chatroom_dialog_got_room_cb), self, 0);
+ tp_g_signal_connect_object (self->priv->room_list, "failed",
+ G_CALLBACK (listing_failed_cb), self, 0);
+ tp_g_signal_connect_object (self->priv->room_list, "notify::listing",
+ G_CALLBACK (new_chatroom_dialog_listing_cb), self, 0);
if (gtk_expander_get_expanded (GTK_EXPANDER (self->priv->expander_browse)))
{