[empathy] empathy_chat_window_present_chat: no need to call show_all on the window



commit a67b3d4692546def274d7af1b41c498f19c1c9c4
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Mar 30 13:46:48 2011 +0200

    empathy_chat_window_present_chat: no need to call show_all on the window
    
    empathy_window_present_with_time() called later in this function will do it
    for us.
    
    This has the nice side effect of avoid to display the window before resizing
    it and do making it look bad (#638951).

 src/empathy-chat-window.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index aacc301..6341267 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -2385,7 +2385,6 @@ empathy_chat_window_present_chat (EmpathyChat *chat,
 		window = empathy_chat_window_get_default (empathy_chat_is_room (chat));
 		if (!window) {
 			window = empathy_chat_window_new ();
-			gtk_widget_show_all (GET_PRIV (window)->dialog);
 		}
 
 		empathy_chat_window_add_chat (window, chat);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]