summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-04-15 22:13:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-04-19 10:36:14 -0400
commite530a0ecd1de3577ee6c2eff649c9ee84bfcb501 (patch)
tree188e18939747b7ad452c7e61efcc1fa1900082ac
parent5e11b071a7f3ef5bb3a73c51ebe8f6b68820ba01 (diff)
downloadgtk+-e530a0ecd1de3577ee6c2eff649c9ee84bfcb501.tar.gz
Clarify docs a bit
The wording here was just awkward: TRUE is returned if... Note that FALSE is also returned if...
-rw-r--r--gdk/gdkkeys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkkeys.c b/gdk/gdkkeys.c
index d9185fda4b..d7f76a9513 100644
--- a/gdk/gdkkeys.c
+++ b/gdk/gdkkeys.c
@@ -613,7 +613,7 @@ gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
* This function is useful when matching key events against
* accelerators.
*
- * Returns: %TRUE if no virtual modifiers were mapped to the
+ * Returns: %FALSE if two virtual modifiers were mapped to the
* same non-virtual modifier. Note that %FALSE is also returned
* if a virtual modifier is mapped to a non-virtual modifier that
* was already set in @state.