aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-chat-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 7a993d6bf..3780629fc 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1275,7 +1275,7 @@ empathy_chat_window_get_default (void)
chat_window = l->data;
dialog = empathy_chat_window_get_dialog (chat_window);
- if (empathy_window_get_is_visible (GTK_WINDOW (GTK_WINDOW (dialog)))) {
+ if (empathy_window_get_is_visible (GTK_WINDOW (dialog))) {
/* Found a visible window on this desktop */
return chat_window;
}