summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.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 /gtk/gtkaccelgroup.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 'gtk/gtkaccelgroup.c')
-rw-r--r--gtk/gtkaccelgroup.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index baa74b4340..7eaf8a9b47 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -1441,15 +1441,15 @@ out:
* @accelerator_mods: (out) (allow-none): return location for accelerator
* modifier mask, %NULL
*
- * Parses a string representing an accelerator. The
- * format looks like “&lt;Control&gt;a” or “&lt;Shift&gt;&lt;Alt&gt;F1”
- * or “&lt;Release&gt;z” (the last one is for key release).
+ * Parses a string representing an accelerator. The format looks like
+ * “<Control>a” or “<Shift><Alt>F1” or “<Release>z” (the last one is
+ * for key release).
*
- * The parser is fairly liberal and allows lower or upper case,
- * and also abbreviations such as “&lt;Ctl&gt;” and “&lt;Ctrl&gt;”.
- * Key names are parsed using gdk_keyval_from_name(). For character
- * keys the name is not the symbol, but the lowercase name, e.g. one
- * would use “&lt;Ctrl&gt;minus” instead of “&lt;Ctrl&gt;-”.
+ * The parser is fairly liberal and allows lower or upper case, and also
+ * abbreviations such as “<Ctl>” and “<Ctrl>”. Key names are parsed using
+ * gdk_keyval_from_name(). For character keys the name is not the symbol,
+ * but the lowercase name, e.g. one would use “<Ctrl>minus” instead of
+ * “<Ctrl>-”.
*
* If the parse fails, @accelerator_key and @accelerator_mods will
* be set to 0 (zero).
@@ -1509,10 +1509,9 @@ gtk_accelerator_name_with_keycode (GdkDisplay *display,
* @accelerator_key: accelerator keyval
* @accelerator_mods: accelerator modifier mask
*
- * Converts an accelerator keyval and modifier mask
- * into a string parseable by gtk_accelerator_parse().
- * For example, if you pass in #GDK_KEY_q and #GDK_CONTROL_MASK,
- * this function returns “&lt;Control&gt;q”.
+ * Converts an accelerator keyval and modifier mask into a string
+ * parseable by gtk_accelerator_parse(). For example, if you pass in
+ * #GDK_KEY_q and #GDK_CONTROL_MASK, this function returns “<Control>q”.
*
* If you need to display accelerators in the user interface,
* see gtk_accelerator_get_label().