gnome-commander r2164 - in trunk: . src



Author: epiotr
Date: Tue Oct  7 20:28:42 2008
New Revision: 2164
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2164&view=rev

Log:
Kill dead code

Modified:
   trunk/ChangeLog
   trunk/src/gnome-cmd-main-win.cc
   trunk/src/gnome-cmd-main-win.h

Modified: trunk/src/gnome-cmd-main-win.cc
==============================================================================
--- trunk/src/gnome-cmd-main-win.cc	(original)
+++ trunk/src/gnome-cmd-main-win.cc	Tue Oct  7 20:28:42 2008
@@ -1109,11 +1109,6 @@
 }
 
 
-gboolean gnome_cmd_main_win_is_fs_active (GnomeCmdMainWin *mw, FileSelectorID fs)
-{
-    return mw->priv->current_fs == fs;
-}
-
 static void gnome_cmd_main_win_real_switch_fs (GnomeCmdMainWin *mw, GnomeCmdFileSelector *fs)
 {
     g_return_if_fail (GNOME_CMD_IS_MAIN_WIN (mw));
@@ -1251,16 +1246,6 @@
 }
 
 
-void gnome_cmd_main_win_update_connections (GnomeCmdMainWin *mw)
-{
-    g_return_if_fail (GNOME_CMD_IS_MAIN_WIN (mw));
-
-    gnome_cmd_main_win_get_fs (mw, LEFT)->update_connections();
-    gnome_cmd_main_win_get_fs (mw, RIGHT)->update_connections();
-    gnome_cmd_main_menu_update_connections (GNOME_CMD_MAIN_MENU (mw->priv->menubar));
-}
-
-
 void gnome_cmd_main_win_update_list_orientation (GnomeCmdMainWin *mw)
 {
     g_return_if_fail (GNOME_CMD_IS_MAIN_WIN (mw));

Modified: trunk/src/gnome-cmd-main-win.h
==============================================================================
--- trunk/src/gnome-cmd-main-win.h	(original)
+++ trunk/src/gnome-cmd-main-win.h	Tue Oct  7 20:28:42 2008
@@ -58,16 +58,12 @@
 GtkWidget *gnome_cmd_main_win_new ();
 
 GnomeCmdFileSelector *gnome_cmd_main_win_get_fs (GnomeCmdMainWin *mw, FileSelectorID fs);
-gboolean gnome_cmd_main_win_is_fs_active (GnomeCmdMainWin *mw, FileSelectorID fs);
 void gnome_cmd_main_win_switch_fs (GnomeCmdMainWin *mw, GnomeCmdFileSelector *fs);
 
 GnomeCmdCmdline *gnome_cmd_main_win_get_cmdline (GnomeCmdMainWin *mw);
 
 void gnome_cmd_main_win_update_style (GnomeCmdMainWin *mw);
 
-void gnome_cmd_main_win_hide_embterm (GnomeCmdMainWin *mw);
-void gnome_cmd_main_win_show_embterm (GnomeCmdMainWin *mw);
-
 void gnome_cmd_main_win_new_cwd (GnomeCmdMainWin *mw, const gchar *cwd);
 
 void gnome_cmd_main_win_focus_cmdline (GnomeCmdMainWin *mw);
@@ -77,7 +73,6 @@
 gboolean gnome_cmd_main_win_keypressed (GnomeCmdMainWin *mw, GdkEventKey *event);
 
 void gnome_cmd_main_win_update_bookmarks (GnomeCmdMainWin *mw);
-void gnome_cmd_main_win_update_connections (GnomeCmdMainWin *mw);
 void gnome_cmd_main_win_update_toolbar_visibility (GnomeCmdMainWin *mw);
 void gnome_cmd_main_win_update_cmdline_visibility (GnomeCmdMainWin *mw);
 void gnome_cmd_main_win_update_buttonbar_visibility (GnomeCmdMainWin *mw);



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