summaryrefslogtreecommitdiff
path: root/gdk/gdkkeys.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-02-09 17:24:06 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-02-09 17:58:07 -0500
commit7f6a964c47ad2f9dcf6a00044d938840ce8f01f2 (patch)
tree89fdaf3a0f7ee34d49449c9ac241460b6a06616e /gdk/gdkkeys.c
parentab0574a88bc0105f6d7374a0f305fe5f0aaeb027 (diff)
downloadgtk+-7f6a964c47ad2f9dcf6a00044d938840ce8f01f2.tar.gz
Docs: Remove all entities and turn off sgml mode
With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
Diffstat (limited to 'gdk/gdkkeys.c')
-rw-r--r--gdk/gdkkeys.c28
1 files changed, 12 insertions, 16 deletions
diff --git a/gdk/gdkkeys.c b/gdk/gdkkeys.c
index 63e92bfc87..468241f096 100644
--- a/gdk/gdkkeys.c
+++ b/gdk/gdkkeys.c
@@ -495,12 +495,10 @@ gdk_keymap_lookup_key (GdkKeymap *keymap,
* @state. For convenience, #GdkEventKey already contains the translated
* keyval, so this function isn’t as useful as you might think.
*
- * @consumed_modifiers gives modifiers that should be masked out
- * from @state when comparing this key press to a hot key. For
- * instance, on a US keyboard, the `plus`
- * symbol is shifted, so when comparing a key press to a
- * `&lt;Control&gt;plus` accelerator &lt;Shift&gt; should
- * be masked out.
+ * @consumed_modifiers gives modifiers that should be masked outfrom @state
+ * when comparing this key press to a hot key. For instance, on a US keyboard,
+ * the `plus` symbol is shifted, so when comparing a key press to a
+ * `<Control>plus` accelerator `<Shift>` should be masked out.
*
* |[<!-- language="C" -->
* /&ast; We want to ignore irrelevant modifiers like ScrollLock &ast;/;
@@ -525,16 +523,14 @@ gdk_keymap_lookup_key (GdkKeymap *keymap,
* ]|
*
* However, this did not work if multi-modifier combinations were
- * used in the keymap, since, for instance, `&lt;Control&gt;`
- * would be masked out even if only `&lt;Control&gt;&lt;Alt&gt;`
- * was used in the keymap. To support this usage as well as well as
- * possible, all single modifier combinations
- * that could affect the key for any combination of modifiers will
- * be returned in @consumed_modifiers; multi-modifier combinations
- * are returned only when actually found in @state. When you store
- * accelerators, you should always store them with consumed modifiers
- * removed. Store `&lt;Control&gt;plus`,
- * not `&lt;Control&gt;&lt;Shift&gt;plus`,
+ * used in the keymap, since, for instance, `<Control>` would be
+ * masked out even if only `<Control><Alt>` was used in the keymap.
+ * To support this usage as well as well as possible, all single
+ * modifier combinations that could affect the key for any combination
+ * of modifiers will be returned in @consumed_modifiers; multi-modifier
+ * combinations are returned only when actually found in @state. When
+ * you store accelerators, you should always store them with consumed
+ * modifiers removed. Store `<Control>plus`, not `<Control><Shift>plus`,
*
* Return value: %TRUE if there was a keyval bound to the keycode/state/group
**/