[gnome-commander] Removed unused code from GnomeCmdFileList constructor



commit efb6a356e54f9737f3582cbef6901f136ae3067b
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon Jul 27 18:46:39 2009 +0200

    Removed unused code from GnomeCmdFileList constructor

 src/gnome-cmd-file-list.h |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.h b/src/gnome-cmd-file-list.h
index 6295d21..d74cc41 100644
--- a/src/gnome-cmd-file-list.h
+++ b/src/gnome-cmd-file-list.h
@@ -93,7 +93,7 @@ struct GnomeCmdFileList
     GnomeCmdDir *cwd, *lwd;         // current & last working dir
     GnomeCmdDir *connected_dir;
 
-    GnomeCmdFileList(GCallback handler=NULL, GObject *object=NULL);
+    GnomeCmdFileList();
     ~GnomeCmdFileList();
 
     int size()                          {  return g_list_length (get_visible_files());  }
@@ -166,7 +166,7 @@ inline void *GnomeCmdFileList::operator new (size_t size)
     return g_object_new (GNOME_CMD_TYPE_FILE_LIST, "n-columns", GnomeCmdFileList::NUM_COLUMNS, NULL);
 }
 
-inline GnomeCmdFileList::GnomeCmdFileList(GCallback handler, GObject *object)
+inline GnomeCmdFileList::GnomeCmdFileList()
 {
     realized = FALSE;
     modifier_click = FALSE;
@@ -176,9 +176,6 @@ inline GnomeCmdFileList::GnomeCmdFileList(GCallback handler, GObject *object)
     connected_dir = NULL;
 
     create_column_titles();
-
-    if (handler)
-        g_signal_connect (this, "files-changed", handler, object);
 }
 
 inline GnomeCmdFileList::~GnomeCmdFileList()



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