aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-02-16 05:27:46 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-04-22 18:21:08 +0800
commit9f02816a5589ccc2b8379a32007acca6d9bd9232 (patch)
treea7587010de13698f8251da312003a847a759ee3f /src
parentcad495664dc69bee746b71f7b5e4bb941327ac56 (diff)
downloadgsoc2013-empathy-9f02816a5589ccc2b8379a32007acca6d9bd9232.tar
gsoc2013-empathy-9f02816a5589ccc2b8379a32007acca6d9bd9232.tar.gz
gsoc2013-empathy-9f02816a5589ccc2b8379a32007acca6d9bd9232.tar.bz2
gsoc2013-empathy-9f02816a5589ccc2b8379a32007acca6d9bd9232.tar.lz
gsoc2013-empathy-9f02816a5589ccc2b8379a32007acca6d9bd9232.tar.xz
gsoc2013-empathy-9f02816a5589ccc2b8379a32007acca6d9bd9232.tar.zst
gsoc2013-empathy-9f02816a5589ccc2b8379a32007acca6d9bd9232.zip
Port EmpathyChatWindow to new API and remove dead code.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 145d45e7f..be8aa415a 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -953,7 +953,7 @@ chat_window_new_message_cb (EmpathyChat *chat,
if (has_focus && priv->current_chat == chat) {
return;
}
-
+
/* If empathy_chat_is_room() returns TRUE, that means it's a named MUC.
* If empathy_chat_get_remote_contact() returns NULL, that means it's
* an unamed MUC (msn-like).
@@ -1700,17 +1700,3 @@ empathy_chat_window_present_chat (EmpathyChat *chat)
gtk_widget_grab_focus (chat->input_text_view);
}
-#if 0
-static gboolean
-chat_window_should_play_sound (EmpathyChatWindow *window)
-{
- EmpathyChatWindowPriv *priv = GET_PRIV (window);
- gboolean has_focus = FALSE;
-
- g_return_val_if_fail (EMPATHY_IS_CHAT_WINDOW (window), FALSE);
-
- g_object_get (priv->dialog, "has-toplevel-focus", &has_focus, NULL);
-
- return !has_focus;
-}
-#endif