gnome-commander r1750 - in trunk: . src



Author: epiotr
Date: Fri May  2 22:59:33 2008
New Revision: 1750
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1750&view=rev

Log:
Do not pass unused pointer to file_selector in handle_key_event()

Modified:
   trunk/ChangeLog
   trunk/src/gnome-cmd-file-selector.cc
   trunk/src/gnome-cmd-user-actions.cc
   trunk/src/gnome-cmd-user-actions.h

Modified: trunk/src/gnome-cmd-file-selector.cc
==============================================================================
--- trunk/src/gnome-cmd-file-selector.cc	(original)
+++ trunk/src/gnome-cmd-file-selector.cc	Fri May  2 22:59:33 2008
@@ -1176,7 +1176,7 @@
         ret = TRUE;
     else if (gnome_cmd_main_win_keypressed (main_win, event))
         ret = TRUE;
-    else if (gcmd_user_actions.handle_key_event(main_win, fs, fs->list, event))
+    else if (gcmd_user_actions.handle_key_event(main_win, fs->list, event))
         ret = TRUE;
 
     if (ret)

Modified: trunk/src/gnome-cmd-user-actions.cc
==============================================================================
--- trunk/src/gnome-cmd-user-actions.cc	(original)
+++ trunk/src/gnome-cmd-user-actions.cc	Fri May  2 22:59:33 2008
@@ -508,7 +508,7 @@
 }
 
 
-gboolean GnomeCmdUserActions::handle_key_event(GnomeCmdMainWin *mw, GnomeCmdFileSelector *fs, GnomeCmdFileList *fl, GdkEventKey *event)
+gboolean GnomeCmdUserActions::handle_key_event(GnomeCmdMainWin *mw, GnomeCmdFileList *fl, GdkEventKey *event)
 {
     map <GdkEventKey, UserAction>::const_iterator pos = action.find(*event);
 

Modified: trunk/src/gnome-cmd-user-actions.h
==============================================================================
--- trunk/src/gnome-cmd-user-actions.h	(original)
+++ trunk/src/gnome-cmd-user-actions.h	Fri May  2 22:59:33 2008
@@ -174,7 +174,7 @@
     gboolean registered(guint state, guint keyval);
     gboolean registered(guint keyval)                                       {  return registered(0, keyval);  }
 
-    gboolean handle_key_event(GnomeCmdMainWin *mw, GnomeCmdFileSelector *fs, GnomeCmdFileList *fl, GdkEventKey *event);
+    gboolean handle_key_event(GnomeCmdMainWin *mw, GnomeCmdFileList *fl, GdkEventKey *event);
 
     struct const_iterator: ACTIONS_COLL::iterator
     {



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