diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-02 17:42:24 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-02 17:42:24 +0800 |
commit | bd2e3b3dd564359072f50422dbadc01794d6203f (patch) | |
tree | 602d7a3bd00ce8c1765c7750d7cd11f7481b9ef9 /src/empathy-chat-window.c | |
parent | 20461f6167635f92b05e4fa1c029f27703208dd6 (diff) | |
download | gsoc2013-empathy-bd2e3b3dd564359072f50422dbadc01794d6203f.tar gsoc2013-empathy-bd2e3b3dd564359072f50422dbadc01794d6203f.tar.gz gsoc2013-empathy-bd2e3b3dd564359072f50422dbadc01794d6203f.tar.bz2 gsoc2013-empathy-bd2e3b3dd564359072f50422dbadc01794d6203f.tar.lz gsoc2013-empathy-bd2e3b3dd564359072f50422dbadc01794d6203f.tar.xz gsoc2013-empathy-bd2e3b3dd564359072f50422dbadc01794d6203f.tar.zst gsoc2013-empathy-bd2e3b3dd564359072f50422dbadc01794d6203f.zip |
Do not update the chat if the window doesn't exists anymore.
svn path=/trunk/; revision=856
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r-- | src/empathy-chat-window.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |