[gnome-terminal] Remove commented-out code



commit fd06e5b5dbc62fc699912b44f1762f4685df0c46
Author: Christian Persch <chpe gnome org>
Date:   Sun Aug 30 00:41:02 2009 +0200

    Remove commented-out code
    
    Whatever this code was supposed to work around seems fixed now, since
    this code has been commented out since before 2.26 and there have been
    no bugs reported.

 src/terminal-window.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index b6fcf2c..853f2f8 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1916,15 +1916,6 @@ terminal_window_init (TerminalWindow *window)
   priv->old_char_height = -1;
   priv->old_geometry_widget = NULL;
   
-  /* force gtk to construct its GtkClipboard; otherwise our UI is very slow the first time we need it */
-  /* FIXME is that really true still ?
-   * Simple way to find out: comment the code out (if 0'd below), and see
-   * if anyone complains after the next release :)
-   */
-#if 0
-  gtk_widget_get_clipboard (GTK_WIDGET (window), GDK_SELECTION_CLIPBOARD);
-#endif
-
   /* Create the UI manager */
   manager = priv->ui_manager = gtk_ui_manager_new ();
 



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