empathy r1239 - trunk/libempathy



Author: xclaesse
Date: Tue Jul 15 13:23:09 2008
New Revision: 1239
URL: http://svn.gnome.org/viewvc/empathy?rev=1239&view=rev

Log:
If InspectHandles fails print a debug message and return.


Modified:
   trunk/libempathy/empathy-tp-roomlist.c

Modified: trunk/libempathy/empathy-tp-roomlist.c
==============================================================================
--- trunk/libempathy/empathy-tp-roomlist.c	(original)
+++ trunk/libempathy/empathy-tp-roomlist.c	Tue Jul 15 13:23:09 2008
@@ -91,7 +91,12 @@
 {
 	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);



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