[gtk+] Solve a wrong reference on gdk_keymap_translate_keyboard_state



commit bc39d88b4479051360cf8a16f40bbf51b7b758c4
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Tue Feb 9 11:52:49 2010 +0100

    Solve a wrong reference on gdk_keymap_translate_keyboard_state
    
    Solves https://bugzilla.gnome.org/show_bug.cgi?id=608345

 docs/reference/gdk/tmpl/keys.sgml |    2 +-
 gdk/x11/gdkkeys-x11.c             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gdk/tmpl/keys.sgml b/docs/reference/gdk/tmpl/keys.sgml
index b77e088..9c67e09 100644
--- a/docs/reference/gdk/tmpl/keys.sgml
+++ b/docs/reference/gdk/tmpl/keys.sgml
@@ -34,7 +34,7 @@ When it makes sense, key values can be converted to and from
 Unicode characters with gdk_keyval_to_unicode() and gdk_unicode_to_keyval().
 </para>
 
-<para>
+<para id="key-group-explanation">
 One #GdkKeymap object exists for each user display. gdk_keymap_get_default() 
 returns the #GdkKeymap for the default display; to obtain keymaps for other 
 displays, use gdk_keymap_get_for_display(). A keymap
diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
index 1426fdc..f7d7a90 100644
--- a/gdk/x11/gdkkeys-x11.c
+++ b/gdk/x11/gdkkeys-x11.c
@@ -1422,7 +1422,7 @@ translate_keysym (GdkKeymapX11   *keymap_x11,
  * Translates the contents of a #GdkEventKey into a keyval, effective
  * group, and level. Modifiers that affected the translation and
  * are thus unavailable for application use are returned in
- * @consumed_modifiers.  See gdk_keyval_get_keys() for an explanation of
+ * @consumed_modifiers.  See <xref linkend="key-group-explanation"/> for an explanation of
  * groups and levels.  The @effective_group is the group that was
  * actually used for the translation; some keys such as Enter are not
  * affected by the active keyboard group. The @level is derived from



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]