gnome-commander r2289 - in branches/gcmd-1-3: . src



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

Log:
Code cleanup

Modified:
   branches/gcmd-1-3/ChangeLog
   branches/gcmd-1-3/src/gnome-cmd-advrename-dialog.cc
   branches/gcmd-1-3/src/gnome-cmd-advrename-lexer.ll
   branches/gcmd-1-3/src/gnome-cmd-data.h

Modified: branches/gcmd-1-3/src/gnome-cmd-advrename-dialog.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-advrename-dialog.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-advrename-dialog.cc	Tue Nov 18 21:29:33 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: branches/gcmd-1-3/src/gnome-cmd-advrename-lexer.ll
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-advrename-lexer.ll	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-advrename-lexer.ll	Tue Nov 18 21:29:33 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: branches/gcmd-1-3/src/gnome-cmd-data.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-data.h	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-data.h	Tue Nov 18 21:29:33 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]