[dasher] Comment out CKeyboardHelper::Grab as not used after b4cbd3b5 "Fixing up keyboard stuff" "TODO: Sort
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher] Comment out CKeyboardHelper::Grab as not used after b4cbd3b5 "Fixing up keyboard stuff" "TODO: Sort
- Date: Wed, 14 Apr 2010 18:10:14 +0000 (UTC)
commit ce487b694e4b019aa881b58281954bd1d49c5ed3
Author: Patrick Welche <prlw1 cam ac uk>
Date: Wed Apr 14 19:09:00 2010 +0100
Comment out CKeyboardHelper::Grab as not used after
b4cbd3b5 "Fixing up keyboard stuff" "TODO: Sort these methods out"
yet it needs XGrab from libX11. (#615573)
ChangeLog | 3 +++
Src/Gtk2/KeyboardHelper.cpp | 2 ++
Src/Gtk2/KeyboardHelper.h | 2 +-
3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 55190c9..704299d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
* dasher.xml.in: Save Christian Kirbach's typo corrections.
* configure.ac: Make PACKAGE_URL work with all versions of autoconf.
(#615564)
+ * Comment out CKeyboardHelper::Grab as not used after
+ b4cbd3b5 "Fixing up keyboard stuff" "TODO: Sort these methods out"
+ yet it needs XGrab from libX11. (#615573)
2010-04-12 Patrick Welche <prlw1 cam ac uk>
diff --git a/Src/Gtk2/KeyboardHelper.cpp b/Src/Gtk2/KeyboardHelper.cpp
index 50bd18d..937db58 100644
--- a/Src/Gtk2/KeyboardHelper.cpp
+++ b/Src/Gtk2/KeyboardHelper.cpp
@@ -167,6 +167,7 @@ int CKeyboardHelper::ConvertKeycode(int iCode) {
return -1;
}
+/* Not called - commented out because of X11 lib dependence
void CKeyboardHelper::Grab(bool bGrab) {
for(std::map<int,int>::iterator it(m_mTable.begin()); it != m_mTable.end(); ++it) {
GdkKeymapKey *pKeys;
@@ -183,3 +184,4 @@ void CKeyboardHelper::Grab(bool bGrab) {
}
}
}
+*/
diff --git a/Src/Gtk2/KeyboardHelper.h b/Src/Gtk2/KeyboardHelper.h
index c49e498..849088a 100644
--- a/Src/Gtk2/KeyboardHelper.h
+++ b/Src/Gtk2/KeyboardHelper.h
@@ -14,7 +14,7 @@ class CKeyboardHelper {
void UnsetKey(int iCode);
int ConvertKeycode(int iCode);
- void Grab(bool bGrab);
+ // unused: void Grab(bool bGrab);
private:
void SetupDefaults();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]