[empathy] Port EmpathyChatWindow to new API and remove dead code.
- From: Xavier Claessens <xclaesse src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Port EmpathyChatWindow to new API and remove dead code.
- Date: Wed, 22 Apr 2009 06:23:30 -0400 (EDT)
commit 9f02816a5589ccc2b8379a32007acca6d9bd9232
Author: Xavier Claessens <xclaesse gmail com>
Date: Sun Feb 15 22:27:46 2009 +0100
Port EmpathyChatWindow to new API and remove dead code.
---
src/empathy-chat-window.c | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 145d45e..be8aa41 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]