aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-chat-window.c')
-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 */