porting guide: Update to mention GDK_KEY_ transition

This commit is contained in:
Colin Walters
2010-09-08 18:25:52 -04:00
parent 913cdf3be7
commit e08c43faf4

View File

@@ -113,6 +113,20 @@
</para>
</section>
<section>
<title>Replace GDK_&lt;keyname&gt; with GDK_KEY_&lt;keyname&gt;</title>
<para>
Key constants have gained a <literal>_KEY</literal>, prefix.
For example, <literal>GDK_a</literal> is now
<literal>GDK_KEY_a</literal>. In GTK+ 2, the old names continue
to be available. In GTK+ 3 however, the old names will require
an explicit include of the
<literal>gdkkeysyms-compat.h</literal> header.
</para>
</section>
<section>
<title>Use cairo for drawing</title>
<para>