[gnome-commander] Killed dead code
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Killed dead code
- Date: Sun, 18 Jul 2010 20:56:27 +0000 (UTC)
commit 5086bf73db1d582446a323108b803137fcaf56f8
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Jul 18 22:55:05 2010 +0200
Killed dead code
src/gnome-cmd-data.cc | 16 ----------------
src/gnome-cmd-data.h | 2 --
2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index dc3e63e..81462aa 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -1884,22 +1884,6 @@ void gnome_cmd_data_set_auto_load_plugins (GList *plugins)
}
-void gnome_cmd_data_get_sort_params (GnomeCmdFileList *fl, gint &col, gboolean &direction)
-{
- if (!main_win->fs(LEFT) || main_win->fs(LEFT)->file_list() == fl)
- {
- col = gnome_cmd_data.priv->sort_column[LEFT];
- direction = gnome_cmd_data.priv->sort_direction[LEFT];
- }
- else
- if (!main_win->fs(RIGHT) || main_win->fs(RIGHT)->file_list() == fl)
- {
- col = gnome_cmd_data.priv->sort_column[RIGHT];
- direction = gnome_cmd_data.priv->sort_direction[RIGHT];
- }
-}
-
-
void gnome_cmd_data_set_main_win_pos (gint x, gint y)
{
gnome_cmd_data.priv->main_win_pos[0] = x;
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index e936f67..d808963 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -284,8 +284,6 @@ GnomeCmdColorTheme *gnome_cmd_data_get_current_color_theme ();
GnomeCmdLsColorsPalette *gnome_cmd_data_get_ls_colors_palette ();
-void gnome_cmd_data_get_sort_params (GnomeCmdFileList *fl, gint &col, gboolean &direction);
-
inline void GnomeCmdData::set_viewer(const gchar *command)
{
g_free (viewer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]