]> git.0d.be Git - empathy.git/commitdiff
Do not update the chat if the window doesn't exists anymore.
authorXavier Claessens <xclaesse@src.gnome.org>
Wed, 2 Apr 2008 09:42:24 +0000 (09:42 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Wed, 2 Apr 2008 09:42:24 +0000 (09:42 +0000)
svn path=/trunk/; revision=856

src/empathy-chat-window.c

index 7e4d1d1ccb5a8a8ad48bc9eb5d2861c197bdfb88..7b0c27db97e5d1c8429c6393b6ba2947c3808002 100644 (file)
@@ -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 */