[gnome-commander] noop: code cleanup



commit de41ad852fe3e2e4fb7d4df2ef3a73f06e35c1c7
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Wed Aug 10 21:54:00 2011 +0200

    noop: code cleanup

 src/gnome-cmd-file-list.cc |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 793559e..57ed3ac 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -137,10 +137,8 @@ struct GnomeCmdFileListClass
 };
 
 
-class GnomeCmdFileList::Private
+struct GnomeCmdFileList::Private
 {
-  public:
-
     GtkWidget *column_pixmaps[GnomeCmdFileList::NUM_COLUMNS];
     GtkWidget *column_labels[GnomeCmdFileList::NUM_COLUMNS];
     GtkWidget *popup_menu;
@@ -415,7 +413,7 @@ inline void show_selpat_dialog (GnomeCmdFileList *fl, gboolean mode)
 }
 
 
-// Given a GnomeFileList, returns the upper-left corner of the selected file
+// given a GnomeFileList, returns the upper-left corner of the selected file
 static void get_focus_row_coordinates (GnomeCmdFileList *fl, gint &x, gint &y, gint &width, gint &height)
 {
     #define CELL_SPACING 1
@@ -1622,6 +1620,7 @@ static void gnome_cmd_file_list_class_init (GnomeCmdFileListClass *klass)
             1, G_TYPE_POINTER);
 }
 
+
 static void gnome_cmd_file_list_init (GnomeCmdFileList *fl)
 {
     fl->priv = new GnomeCmdFileList::Private(fl);
@@ -2934,4 +2933,3 @@ XML::xstream &operator << (XML::xstream &xml, GnomeCmdFileList &fl)
 {
     return xml << XML::tag("Tab") << XML::attr("dir") << GNOME_CMD_FILE (fl.cwd)->get_real_path() << XML::attr("sort") << fl.get_sort_column() << XML::attr("asc") << fl.get_sort_order() << XML::attr("lock") << fl.locked << XML::endtag();
 }
-



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