gnome-terminal r2453 - trunk/src



Author: chpe
Date: Wed Mar 19 15:20:43 2008
New Revision: 2453
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2453&view=rev

Log:
Remove unused variables.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Wed Mar 19 15:20:43 2008
@@ -491,8 +491,7 @@
                                 TerminalWindow *window)
 {
   TerminalWindowPrivate *priv = window->priv;
-  const char *name;
-  const char *charset;
+  const char *name, *charset;
   GtkWidget *widget;
   
   if (!gtk_toggle_action_get_active (action))
@@ -516,8 +515,6 @@
 {
   TerminalWindowPrivate *priv = window->priv;
   GtkActionGroup *action_group;
-  GtkAction *action;
-  GList *profiles, *p;
   GSList *group;
   guint n;
   GSList *encodings, *l;
@@ -541,7 +538,7 @@
       priv->encodings_action_group = NULL;
     }
 
-    /* FIXMEchpe */
+  /* FIXMEchpe */
   if (priv->active_term == NULL)
     return;
 
@@ -603,6 +600,7 @@
 terminal_menu_activate_callback (GtkAction *action,
                                  TerminalWindow *window)
 {
+  /* FIXMEchpe why? it's already updated when the active term changes */
   terminal_window_update_encoding_menu (window);
 }
 



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