[gnome-terminal] Don't realize the TerminalScreen before time



commit 3cca528c28e7be6e00b0ad42bcc87994ca570e15
Author: Christian Persch <chpe gnome org>
Date:   Thu Aug 27 20:26:08 2009 +0200

    Don't realize the TerminalScreen before time
    
    According to the comment, this was only needed back when we used Zvt!
    However, removing this here makes the newly opened terminal window flash
    in grey before showing the expected background colour of the screen.

 src/terminal-window.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 96f167b..ec81a44 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2693,14 +2693,6 @@ notebook_page_added_callback (GtkWidget       *notebook,
   update_tab_visibility (window, 0);
 
 #if 0
-  /* ZvtTerm is a broken POS and requires this realize to get
-   * the size request right.
-   */
-  /* FIXME: does this apply to VTE? */
-  gtk_widget_realize (GTK_WIDGET (screen));
-#endif
-
-#if 0
   /* FIXMEchpe: wtf is this doing? */
 
   /* If we have an active screen, match its size and zoom */



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