]> git.0d.be Git - empathy.git/commitdiff
tp-roomlist: pass self as weak object to tp_cli_channel_type_room_list_call_list_rooms
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 16 Sep 2011 08:32:18 +0000 (10:32 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 16 Sep 2011 08:32:23 +0000 (10:32 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=658909

libempathy/empathy-tp-roomlist.c

index 79516a5f07ff15c3597d90c823ab381924d45830..b70578156d61b611abe0bd997792ad7737502aa5 100644 (file)
@@ -299,7 +299,7 @@ tp_roomlist_create_channel_cb (GObject *source,
 
        if (priv->start_requested == TRUE) {
                tp_cli_channel_type_room_list_call_list_rooms (priv->channel, -1,
-                       call_list_rooms_cb, self, NULL, NULL);
+                       call_list_rooms_cb, self, NULL, G_OBJECT (self));
                priv->start_requested = FALSE;
        }