[empathy] tp-roomlist: pass self as weak object to tp_cli_channel_type_room_list_call_list_rooms



commit 0fab2d22847ee90c06be84bac9935942e39039b1
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Sep 16 10:32:18 2011 +0200

    tp-roomlist: pass self as weak object to tp_cli_channel_type_room_list_call_list_rooms
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658909

 libempathy/empathy-tp-roomlist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-tp-roomlist.c b/libempathy/empathy-tp-roomlist.c
index 79516a5..b705781 100644
--- a/libempathy/empathy-tp-roomlist.c
+++ b/libempathy/empathy-tp-roomlist.c
@@ -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;
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]