[gnome-commander/gcmd-1-3] GnomeCmdFileList: removed superfluous code
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander/gcmd-1-3] GnomeCmdFileList: removed superfluous code
- Date: Sun, 26 Jul 2009 21:58:34 +0000 (UTC)
commit bad918639a5be305bfc2a2f971d4c4f250df2963
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Jul 26 23:17:06 2009 +0200
GnomeCmdFileList: removed superfluous code
src/gnome-cmd-file-list.h | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.h b/src/gnome-cmd-file-list.h
index ff5a587..424915d 100644
--- a/src/gnome-cmd-file-list.h
+++ b/src/gnome-cmd-file-list.h
@@ -96,10 +96,8 @@ struct GnomeCmdFileList
GnomeCmdFileList(GCallback handler=NULL, GObject *object=NULL);
~GnomeCmdFileList();
- int size();
- bool empty();
- // int size() { return g_list_length (get_visible_files()); }
- // bool empty() { return get_visible_files()==NULL; } // FIXME should be: size()==0
+ int size() { return g_list_length (get_visible_files()); }
+ bool empty() { return get_visible_files()==NULL; } // FIXME should be: size()==0
void clear();
void reload();
@@ -189,16 +187,6 @@ inline GnomeCmdFileList::~GnomeCmdFileList()
gnome_cmd_dir_unref (lwd);
}
-inline int GnomeCmdFileList::size()
-{
- return g_list_length (get_visible_files());
-}
-
-inline bool GnomeCmdFileList::empty()
-{
- return get_visible_files()==NULL;
-}
-
inline void GnomeCmdFileList::remove_files (GList *files)
{
for (; files; files = files->next)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]