From 06a14ea83b6f301eab4de9488df89838db4b2589 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 24 May 2013 15:29:47 +0200 Subject: new-chatroom-dialog: use tp_g_signal_connect_object() https://bugzilla.gnome.org/show_bug.cgi?id=696151 --- src/empathy-new-chatroom-dialog.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c index 5de844bd4..58cc3fde5 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))) { -- cgit v1.2.3