[gnome-commander] noop: code cleanup



commit 2f4690eaa18c2db8e2b618894e7b2358489a6e35
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Jul 18 20:27:20 2010 +0200

    noop: code cleanup

 src/gnome-cmd-data.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index 7f40fda..e936f67 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -249,16 +249,16 @@ struct GnomeCmdData
     void load_more();
     void save();
 
-    gboolean hide_type(GnomeVFSFileType type)     {  return filter_settings.file_types[type];  }
-    GnomeCmdConFtp *get_quick_connect()           {  return quick_connect;                     }
+    gboolean hide_type(GnomeVFSFileType type) const {  return filter_settings.file_types[type];  }
+    GnomeCmdConFtp *get_quick_connect() const       {  return quick_connect;                     }
 
     GnomeCmdFileList::ColumnID get_sort_col(FileSelectorID id) const;
     GtkSortType get_sort_direction(FileSelectorID id) const;
 
-    const gchar *get_viewer()                     {  return viewer;                            }
-    const gchar *get_editor()                     {  return editor;                            }
-    const gchar *get_differ()                     {  return differ;                            }
-    const gchar *get_term()                       {  return term;                              }
+    const gchar *get_viewer() const                 {  return viewer;                            }
+    const gchar *get_editor() const                 {  return editor;                            }
+    const gchar *get_differ() const                 {  return differ;                            }
+    const gchar *get_term() const                   {  return term;                              }
 
     void set_viewer(const gchar *command);
     void set_editor(const gchar *command);



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