gnome-terminal r2680 - trunk/src



Author: chpe
Date: Thu May 29 19:44:38 2008
New Revision: 2680
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2680&view=rev

Log:
Remove #if 0'd code.


Modified:
   trunk/src/terminal-screen.c
   trunk/src/terminal-window.c
   trunk/src/terminal-window.h

Modified: trunk/src/terminal-screen.c
==============================================================================
--- trunk/src/terminal-screen.c	(original)
+++ trunk/src/terminal-screen.c	Thu May 29 19:44:38 2008
@@ -586,7 +586,6 @@
        * update_on_realize
        */
       terminal_screen_update_scrollbar (screen);
-      terminal_window_update_icon (priv->window);
       terminal_window_update_geometry (priv->window);
     }
   

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Thu May 29 19:44:38 2008
@@ -1865,7 +1865,6 @@
   priv->active_term = screen;
 
   terminal_window_update_geometry (window);
-  terminal_window_update_icon (window);
   
   /* Override menubar setting if it wasn't restored from session */
   if (priv->use_default_menubar_visibility)
@@ -2066,26 +2065,6 @@
 }
 
 void
-terminal_window_update_icon (TerminalWindow *window)
-{
-#if 0
-  TerminalWindowPrivate *priv = window->priv;
-  TerminalProfile *profile;
-
-  if (priv->active_term == NULL ||
-      !(profile = terminal_screen_get_profile (priv->active_term)) ||
-      terminal_profile_get_icon_file (profile) == NULL)
-    {
-      gtk_window_set_icon (GTK_WINDOW (window), NULL);
-      return;
-    }
-
-  gtk_window_set_icon (GTK_WINDOW (window),
-                       terminal_profile_get_icon (profile));
-#endif
-}
-
-void
 terminal_window_update_geometry (TerminalWindow *window)
 {
   TerminalWindowPrivate *priv = window->priv;

Modified: trunk/src/terminal-window.h
==============================================================================
--- trunk/src/terminal-window.h	(original)
+++ trunk/src/terminal-window.h	Thu May 29 19:44:38 2008
@@ -77,7 +77,6 @@
 /* In order of their tabs in the notebook */
 GList* terminal_window_list_screens (TerminalWindow *window);
 
-void terminal_window_update_icon      (TerminalWindow *window);
 void terminal_window_update_geometry  (TerminalWindow *window);
 void terminal_window_set_size         (TerminalWindow *window,
                                        TerminalScreen *screen,



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