From bd2e3b3dd564359072f50422dbadc01794d6203f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 2 Apr 2008 09:42:24 +0000 Subject: Do not update the chat if the window doesn't exists anymore. svn path=/trunk/; revision=856 --- src/empathy-chat-window.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/empathy-chat-window.c') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 7e4d1d1cc..7b0c27db9 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -354,6 +354,9 @@ chat_window_update_chat (EmpathyChat *chat) const gchar *icon_name; window = chat_window_find_chat (chat); + if (!window) { + return; + } priv = GET_PRIV (window); /* Get information */ -- cgit v1.2.3