projects
/
tilda-gobject.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add README
[tilda-gobject.git]
/
tomboykeybinder.c
diff --git
a/tomboykeybinder.c
b/tomboykeybinder.c
index
d88daa3
..
f2854e9
100644
(file)
--- a/
tomboykeybinder.c
+++ b/
tomboykeybinder.c
@@
-96,7
+96,7
@@
do_grab_key (Binding *binding)
gtk_accelerator_parse (binding->keystring, &keysym, &virtual_mods);
- if (
keysym == 0 && virtual_mods == 0
)
+ if (
!gtk_accelerator_valid(keysym, virtual_mods)
)
return FALSE;
TRACE (g_print ("Got accel %d, %d\n", keysym, virtual_mods));