aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-roomlist.c
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-07-15 21:23:09 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-07-15 21:23:09 +0800
commit141f5e14a91ad54c2b345e4f02fefd75365ad159 (patch)
treeda118b4b160585e0b25bcaa57c275250ad0bde2c /libempathy/empathy-tp-roomlist.c
parentc982ff99b1a53282c40f0a5bf2b0b0eca59a50d9 (diff)
downloadgsoc2013-empathy-141f5e14a91ad54c2b345e4f02fefd75365ad159.tar
gsoc2013-empathy-141f5e14a91ad54c2b345e4f02fefd75365ad159.tar.gz
gsoc2013-empathy-141f5e14a91ad54c2b345e4f02fefd75365ad159.tar.bz2
gsoc2013-empathy-141f5e14a91ad54c2b345e4f02fefd75365ad159.tar.lz
gsoc2013-empathy-141f5e14a91ad54c2b345e4f02fefd75365ad159.tar.xz
gsoc2013-empathy-141f5e14a91ad54c2b345e4f02fefd75365ad159.tar.zst
gsoc2013-empathy-141f5e14a91ad54c2b345e4f02fefd75365ad159.zip
If InspectHandles fails print a debug message and return.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1239 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy/empathy-tp-roomlist.c')
-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);