aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-08 00:35:18 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-08 00:59:34 +0800
commit208e7858319b6b10c592b615fd5ef1559cf44b5b (patch)
treef41215cbfbe1f21ff486885113f01a11730027d4
parent247a7866ebdf6f51f357c89a3ffb6e801188f683 (diff)
downloadgsoc2013-empathy-208e7858319b6b10c592b615fd5ef1559cf44b5b.tar
gsoc2013-empathy-208e7858319b6b10c592b615fd5ef1559cf44b5b.tar.gz
gsoc2013-empathy-208e7858319b6b10c592b615fd5ef1559cf44b5b.tar.bz2
gsoc2013-empathy-208e7858319b6b10c592b615fd5ef1559cf44b5b.tar.lz
gsoc2013-empathy-208e7858319b6b10c592b615fd5ef1559cf44b5b.tar.xz
gsoc2013-empathy-208e7858319b6b10c592b615fd5ef1559cf44b5b.tar.zst
gsoc2013-empathy-208e7858319b6b10c592b615fd5ef1559cf44b5b.zip
fix comments
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 2ceb1e86d..903f18fbf 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1875,11 +1875,11 @@ empathy_chat_window_get_default (gboolean room)
if (empathy_window_get_is_visible (GTK_WINDOW (dialog))) {
nb_rooms = empathy_chat_window_get_nb_rooms (chat_window);
- /* We add a new room only if the window has at least one room */
+ /* Skip the window if there aren't any rooms in it */
if (room && nb_rooms == 0)
continue;
- /* We add a new 1-1 chat only if the window has at least one 1-1 chat */
+ /* Skip the window if there aren't any 1-1 chats in it */
if (!room && nb_rooms > 0)
continue;