[gnome-commander/gcmd-1-3] Removed unused code from GnomeCmdFileList constructor
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander/gcmd-1-3] Removed unused code from GnomeCmdFileList constructor
- Date: Mon, 27 Jul 2009 18:25:11 +0000 (UTC)
commit 813064ede1691e4182a4649be7dc21468b36a643
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 b99d70a..45193d7 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()); }
@@ -169,7 +169,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;
@@ -179,9 +179,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]