aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-15 21:23:09 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-15 21:23:09 +0800
commitac12cfb37ffa241f5d81decb06467d42fc2550dd (patch)
treeda118b4b160585e0b25bcaa57c275250ad0bde2c /libempathy
parente46012ff782303976a77deb0609472bd2f25fd2c (diff)
downloadgsoc2013-empathy-ac12cfb37ffa241f5d81decb06467d42fc2550dd.tar
gsoc2013-empathy-ac12cfb37ffa241f5d81decb06467d42fc2550dd.tar.gz
gsoc2013-empathy-ac12cfb37ffa241f5d81decb06467d42fc2550dd.tar.bz2
gsoc2013-empathy-ac12cfb37ffa241f5d81decb06467d42fc2550dd.tar.lz
gsoc2013-empathy-ac12cfb37ffa241f5d81decb06467d42fc2550dd.tar.xz
gsoc2013-empathy-ac12cfb37ffa241f5d81decb06467d42fc2550dd.tar.zst
gsoc2013-empathy-ac12cfb37ffa241f5d81decb06467d42fc2550dd.zip
If InspectHandles fails print a debug message and return.
svn path=/trunk/; revision=1239
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-roomlist.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-roomlist.c b/libempathy/empathy-tp-roomlist.c
index eb87438b5..e73f6cb7a 100644
--- a/libempathy/empathy-tp-roomlist.c
+++ b/libempathy/empathy-tp-roomlist.c
@@ -91,7 +91,12 @@ tp_roomlist_inspect_handles_cb (TpConnection *connection,
{
GSList *chatrooms = user_data;
- while (*names) {
+ if (error != NULL) {
+ DEBUG ("Error: %s", error->message);
+ return;
+ }
+
+ while (*names != NULL) {
EmpathyChatroom *chatroom = chatrooms->data;
empathy_chatroom_set_room (chatroom, *names);