]> git.0d.be Git - empathy.git/commitdiff
new-chatroom-dialog: use tp_g_signal_connect_object()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 24 May 2013 13:29:47 +0000 (15:29 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 24 May 2013 13:29:47 +0000 (15:29 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=696151

src/empathy-new-chatroom-dialog.c

index 5de844bd41e60343eff7e8183330483f07e9d7a3..58cc3fde5ed00acf647285a57ecc6be946686b73 100644 (file)
@@ -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)))
     {