]> git.0d.be Git - empathy.git/commitdiff
If InspectHandles fails print a debug message and return.
authorXavier Claessens <xclaesse@src.gnome.org>
Tue, 15 Jul 2008 13:23:09 +0000 (13:23 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 15 Jul 2008 13:23:09 +0000 (13:23 +0000)
svn path=/trunk/; revision=1239

libempathy/empathy-tp-roomlist.c

index eb87438b5c5c4c7d299e46991fc667a255098709..e73f6cb7a93b58604ea4df6ec8ccb2fe0c07ca2b 100644 (file)
@@ -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);