aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-14 16:08:37 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-14 16:08:37 +0800
commitb6c6f58ed9d8ec3fa154e7bf76d952015be74901 (patch)
tree5ec892bba6000f5dee894b6dd70c9cf9528257e5
parent94eec79c7b0e410e4cc6da4bae17f791b07f0e76 (diff)
downloadgsoc2013-empathy-b6c6f58ed9d8ec3fa154e7bf76d952015be74901.tar
gsoc2013-empathy-b6c6f58ed9d8ec3fa154e7bf76d952015be74901.tar.gz
gsoc2013-empathy-b6c6f58ed9d8ec3fa154e7bf76d952015be74901.tar.bz2
gsoc2013-empathy-b6c6f58ed9d8ec3fa154e7bf76d952015be74901.tar.lz
gsoc2013-empathy-b6c6f58ed9d8ec3fa154e7bf76d952015be74901.tar.xz
gsoc2013-empathy-b6c6f58ed9d8ec3fa154e7bf76d952015be74901.tar.zst
gsoc2013-empathy-b6c6f58ed9d8ec3fa154e7bf76d952015be74901.zip
Useless to cast 2 times to the same class
svn path=/trunk/; revision=1224
-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;
}