gnome-commander r2288 - in trunk: . src



Author: epiotr
Date: Tue Nov 18 21:28:29 2008
New Revision: 2288
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2288&view=rev

Log:
Code cleanup

Modified:
   trunk/ChangeLog
   trunk/src/gnome-cmd-advrename-dialog.cc
   trunk/src/gnome-cmd-advrename-lexer.ll
   trunk/src/gnome-cmd-data.h

Modified: trunk/src/gnome-cmd-advrename-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-advrename-dialog.cc	(original)
+++ trunk/src/gnome-cmd-advrename-dialog.cc	Tue Nov 18 21:28:29 2008
@@ -524,7 +524,6 @@
 }
 
 
-inline GtkTreeModel *create_and_fill_regex_model (GnomeCmdData::AdvrenameDefaults &defaults);
 inline GtkWidget *create_regex_view ();
 
 inline GtkTreeModel *create_files_model ();

Modified: trunk/src/gnome-cmd-advrename-lexer.ll
==============================================================================
--- trunk/src/gnome-cmd-advrename-lexer.ll	(original)
+++ trunk/src/gnome-cmd-advrename-lexer.ll	Tue Nov 18 21:28:29 2008
@@ -343,12 +343,6 @@
 }
 
 
-// gboolean is_substr (const CHUNK *p)
-// {
-  // return p->tag.beg!=0 || p->tag.end!=0;
-// }
-
-
 inline void mk_substr (int src_len, const CHUNK *p, int &pos, int &len)
 {
   pos = p->tag.beg<0 ? p->tag.beg+src_len : p->tag.beg;
@@ -367,12 +361,6 @@
 
 inline void append_utf8_chunk (string &s, const CHUNK *p, const char *path, int path_len)
 {
-  // if (!is_substr (p))
-  // {
-    // s += path_offset ? g_utf8_offset_to_pointer (path, path_offset) : path;
-    // return;
-  // }
-
   int from, length;
 
   mk_substr (path_len, p, from, length);

Modified: trunk/src/gnome-cmd-data.h
==============================================================================
--- trunk/src/gnome-cmd-data.h	(original)
+++ trunk/src/gnome-cmd-data.h	Tue Nov 18 21:28:29 2008
@@ -57,8 +57,6 @@
         guint counter_precision;
         gint counter_increment;
         gint width, height;
-        gint pat_col_widths;
-        gint res_col_widths;
     };
 
     struct FilterSettings



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