[gnome-commander] GnomeCmdMainWin: simplify code for key_pressed(GdkEventKey *event)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] GnomeCmdMainWin: simplify code for key_pressed(GdkEventKey *event)
- Date: Sun, 21 Aug 2011 10:51:36 +0000 (UTC)
commit 50d3dfa23d9473b17ac75c371b018a9c4f9592b7
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Aug 21 12:48:34 2011 +0200
GnomeCmdMainWin: simplify code for key_pressed(GdkEventKey *event)
src/gnome-cmd-main-win.cc | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index f265e7e..f2825ce 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -1076,10 +1076,7 @@ gboolean GnomeCmdMainWin::key_pressed(GdkEventKey *event)
return TRUE;
}
- if (fs(ACTIVE)->key_pressed(event))
- return TRUE;
-
- return FALSE;
+ return fs(ACTIVE)->key_pressed(event);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]