]> Pileus Git - ~andy/gtk/commitdiff
Include gdkkeysyms.h in gdk.h
authorMatthias Clasen <mclasen@redhat.com>
Fri, 10 Sep 2010 15:08:18 +0000 (11:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 10 Sep 2010 15:08:18 +0000 (11:08 -0400)
Followup to bug 629093

docs/reference/gdk/tmpl/keys.sgml
gdk/gdk.h

index 537d1c4597b5733dd2c82e520869a65f09d271fa..ca6c4dcfdddc8fdfc9b52c19c9553b5bb3000378 100644 (file)
@@ -11,13 +11,12 @@ They appear in the <structfield>keyval</structfield> field of the
 #GdkEventKey structure, which is passed to signal handlers for the
 "key-press-event" and "key-release-event" signals.
 The complete list of key values can be found in the <filename>&lt;gdk/gdkkeysyms.h&gt;</filename>
-header file. <filename>&lt;gdk/gdkkeysyms.h&gt;</filename> is not included in <filename>&lt;gdk/gdk.h&gt;</filename>, 
-it must be included independently, because the file is quite large.
+header file.
 </para>
 <para>
 Key values are regularly updated from the upstream X.org X11 implementation,
-so new values are added regularly. They will be prefixed with GDK_ rather than
-XF86XK_ or XK_ (for older symbols).
+so new values are added regularly. They will be prefixed with GDK_KEY_ rather
+than XF86XK_ or XK_ (for older symbols).
 </para>
 <para>
 Key values can be converted into a string representation using
@@ -30,7 +29,7 @@ gdk_keyval_is_lower(). Key values can be converted to upper or lower case
 using gdk_keyval_to_upper() and gdk_keyval_to_lower().
 </para>
 <para>
-When it makes sense, key values can be converted to and from 
+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>
 
@@ -270,7 +269,7 @@ Returns: %PANGO_DIRECTION_LTR or %PANGO_DIRECTION_RTL.
 <para>
 Converts a key value into a symbolic name.
 The names are the same as those in the <filename>&lt;gdk/gdkkeysyms.h&gt;</filename> header file
-but without the leading "GDK_".
+but without the leading "GDK_KEY_".
 </para>
 
 @keyval: a key value.
index 97381047d28c910eca0926686b92460c4b6586e9..a6c7578a80bf023e1d84f46a352cdc421295f4e5 100644 (file)
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -43,6 +43,7 @@
 #include <gdk/gdkevents.h>
 #include <gdk/gdkinput.h>
 #include <gdk/gdkkeys.h>
+#include <gdk/gdkkeysyms.h>
 #include <gdk/gdkpango.h>
 #include <gdk/gdkpixbuf.h>
 #include <gdk/gdkpixmap.h>