aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-roomlist.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-07-26 23:59:52 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-07-26 23:59:52 +0800
commit789c0c68fa7eefb7ceed3f59395a5665c6d5d2b9 (patch)
treef2f8ecc06cedcd846bd3fd133853a06158ce282f /libempathy/empathy-tp-roomlist.c
parentce0204886f02193df2c768c175ef02eaaf2d691c (diff)
downloadgsoc2013-empathy-789c0c68fa7eefb7ceed3f59395a5665c6d5d2b9.tar
gsoc2013-empathy-789c0c68fa7eefb7ceed3f59395a5665c6d5d2b9.tar.gz
gsoc2013-empathy-789c0c68fa7eefb7ceed3f59395a5665c6d5d2b9.tar.bz2
gsoc2013-empathy-789c0c68fa7eefb7ceed3f59395a5665c6d5d2b9.tar.lz
gsoc2013-empathy-789c0c68fa7eefb7ceed3f59395a5665c6d5d2b9.tar.xz
gsoc2013-empathy-789c0c68fa7eefb7ceed3f59395a5665c6d5d2b9.tar.zst
gsoc2013-empathy-789c0c68fa7eefb7ceed3f59395a5665c6d5d2b9.zip
Fix Room listing. Fixes bug #460416 (Sjoerd Simons).
2007-07-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy/empathy-tp-roomlist.c: Fix Room listing. Fixes bug #460416 (Sjoerd Simons). svn path=/trunk/; revision=201
Diffstat (limited to 'libempathy/empathy-tp-roomlist.c')
-rw-r--r--libempathy/empathy-tp-roomlist.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libempathy/empathy-tp-roomlist.c b/libempathy/empathy-tp-roomlist.c
index a91d1ba07..99b30b64c 100644
--- a/libempathy/empathy-tp-roomlist.c
+++ b/libempathy/empathy-tp-roomlist.c
@@ -314,8 +314,6 @@ tp_roomlist_got_rooms_cb (DBusGProxy *roomlist_iface,
priv = GET_PRIV (list);
- g_print ("Got negsghgfdhgfdhgfdw room !!!");
-
for (i = 0; i < room_list->len; i++) {
EmpathyChatroom *chatroom;
gchar *room_id;
@@ -329,9 +327,7 @@ tp_roomlist_got_rooms_cb (DBusGProxy *roomlist_iface,
room_struct = g_ptr_array_index (room_list, i);
handle = g_value_get_uint (g_value_array_get_nth (room_struct, 0));
channel_type = g_value_get_string (g_value_array_get_nth (room_struct, 1));
- info = g_value_get_boxed (g_value_array_get_nth (room_struct, 0));
-
- g_print ("Got new room !!!");
+ info = g_value_get_boxed (g_value_array_get_nth (room_struct, 2));
/* Create the chatroom */
room_name = g_hash_table_lookup (info, "name");