aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-08 00:32:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-08 00:59:34 +0800
commit247a7866ebdf6f51f357c89a3ffb6e801188f683 (patch)
tree0dd9817e738d81062aed9c547d97e23414e605fd
parent784b5bd127a9cb1bb725f6c3e1e5338015383037 (diff)
downloadgsoc2013-empathy-247a7866ebdf6f51f357c89a3ffb6e801188f683.tar
gsoc2013-empathy-247a7866ebdf6f51f357c89a3ffb6e801188f683.tar.gz
gsoc2013-empathy-247a7866ebdf6f51f357c89a3ffb6e801188f683.tar.bz2
gsoc2013-empathy-247a7866ebdf6f51f357c89a3ffb6e801188f683.tar.lz
gsoc2013-empathy-247a7866ebdf6f51f357c89a3ffb6e801188f683.tar.xz
gsoc2013-empathy-247a7866ebdf6f51f357c89a3ffb6e801188f683.tar.zst
gsoc2013-empathy-247a7866ebdf6f51f357c89a3ffb6e801188f683.zip
empathy_chat_window_get_default: rename room_filter to room
-rw-r--r--src/empathy-chat-window.c6
-rw-r--r--src/empathy-chat-window.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 7d2401677..2ceb1e86d 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1848,7 +1848,7 @@ empathy_chat_window_new (void)
* be added.
*/
EmpathyChatWindow *
-empathy_chat_window_get_default (gboolean room_filter)
+empathy_chat_window_get_default (gboolean room)
{
GList *l;
gboolean separate_windows = TRUE;
@@ -1876,11 +1876,11 @@ empathy_chat_window_get_default (gboolean room_filter)
nb_rooms = empathy_chat_window_get_nb_rooms (chat_window);
/* We add a new room only if the window has at least one room */
- if (room_filter && nb_rooms == 0)
+ if (room && nb_rooms == 0)
continue;
/* We add a new 1-1 chat only if the window has at least one 1-1 chat */
- if (!room_filter && nb_rooms > 0)
+ if (!room && nb_rooms > 0)
continue;
/* Found a visible window on this desktop */
diff --git a/src/empathy-chat-window.h b/src/empathy-chat-window.h
index 9981faddb..a347352a9 100644
--- a/src/empathy-chat-window.h
+++ b/src/empathy-chat-window.h
@@ -57,7 +57,7 @@ struct _EmpathyChatWindowClass {
};
GType empathy_chat_window_get_type (void);
-EmpathyChatWindow *empathy_chat_window_get_default (gboolean room_filter);
+EmpathyChatWindow *empathy_chat_window_get_default (gboolean room);
EmpathyChatWindow *empathy_chat_window_new (void);
GtkWidget * empathy_chat_window_get_dialog (EmpathyChatWindow *window);
void empathy_chat_window_add_chat (EmpathyChatWindow *window,