aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-02 17:42:24 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-02 17:42:24 +0800
commitbd2e3b3dd564359072f50422dbadc01794d6203f (patch)
tree602d7a3bd00ce8c1765c7750d7cd11f7481b9ef9 /src
parent20461f6167635f92b05e4fa1c029f27703208dd6 (diff)
downloadgsoc2013-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')
-rw-r--r--src/empathy-chat-window.c3
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 */