empathy r856 - trunk/src



Author: xclaesse
Date: Wed Apr  2 10:42:24 2008
New Revision: 856
URL: http://svn.gnome.org/viewvc/empathy?rev=856&view=rev

Log:
Do not update the chat if the window doesn't exists anymore.


Modified:
   trunk/src/empathy-chat-window.c

Modified: trunk/src/empathy-chat-window.c
==============================================================================
--- trunk/src/empathy-chat-window.c	(original)
+++ trunk/src/empathy-chat-window.c	Wed Apr  2 10:42:24 2008
@@ -354,6 +354,9 @@
 	const gchar           *icon_name;
 
 	window = chat_window_find_chat (chat);
+	if (!window) {
+		return;
+	}
 	priv = GET_PRIV (window);
 
 	/* Get information */



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