gnome-commander r1751 - in branches/gcmd-1-3: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1751 - in branches/gcmd-1-3: . src
- Date: Fri, 2 May 2008 23:59:50 +0100 (BST)
Author: epiotr
Date: Fri May 2 22:59:50 2008
New Revision: 1751
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1751&view=rev
Log:
Do not pass unused pointer to file_selector in handle_key_event()
Modified:
branches/gcmd-1-3/ChangeLog
branches/gcmd-1-3/src/gnome-cmd-file-selector.cc
branches/gcmd-1-3/src/gnome-cmd-user-actions.cc
branches/gcmd-1-3/src/gnome-cmd-user-actions.h
Modified: branches/gcmd-1-3/src/gnome-cmd-file-selector.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-selector.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-selector.cc Fri May 2 22:59:50 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: branches/gcmd-1-3/src/gnome-cmd-user-actions.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-user-actions.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-user-actions.cc Fri May 2 22:59:50 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: branches/gcmd-1-3/src/gnome-cmd-user-actions.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-user-actions.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-user-actions.h Fri May 2 22:59:50 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]