]> Pileus Git - ~andy/gtk/commit
GDK: Prefix key names with KEY_
authorColin Walters <walters@verbum.org>
Wed, 8 Sep 2010 17:35:51 +0000 (13:35 -0400)
committerColin Walters <walters@verbum.org>
Wed, 8 Sep 2010 22:51:44 +0000 (18:51 -0400)
commit913cdf3be750a1e74c09b20edf55a57f9a919fcc
tree0d2129a167579c0d896bb9213503619b2ef44d1f
parent03c19e37af1f7aa9af8a48bcc9dc023397f8693f
GDK: Prefix key names with KEY_

The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.

For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.

Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
62 files changed:
demos/gtk-demo/hypertext.c
docs/tools/widgets.c
gdk/Makefile.am
gdk/gdkkeysyms-compat.h [new file with mode: 0644]
gdk/gdkkeysyms-update.pl
gdk/gdkkeysyms.h
gdk/x11/gdkdevicemanager-core.c
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkkeys-x11.c
gtk/gtkaboutdialog.c
gtk/gtkaccelgroup.c
gtk/gtkbindings.c
gtk/gtkcalendar.c
gtk/gtkcellrendereraccel.c
gtk/gtkcellrendererspin.c
gtk/gtkcolorsel.c
gtk/gtkcombobox.c
gtk/gtkdialog.c
gtk/gtkdnd.c
gtk/gtkentry.c
gtk/gtkfilechooserdefault.c
gtk/gtkfilechooserentry.c
gtk/gtkhsv.c
gtk/gtkiconview.c
gtk/gtkimcontextsimple.c
gtk/gtkinfobar.c
gtk/gtklabel.c
gtk/gtkmain.c
gtk/gtkmenu.c
gtk/gtkmenubar.c
gtk/gtkmenushell.c
gtk/gtknotebook.c
gtk/gtkpaned.c
gtk/gtkrange.c
gtk/gtkscale.c
gtk/gtkscalebutton.c
gtk/gtkscrolledwindow.c
gtk/gtkspinbutton.c
gtk/gtkstatusicon.c
gtk/gtktextview.c
gtk/gtktoolbar.c
gtk/gtktreeview.c
gtk/gtkwidget.c
gtk/gtkwindow.c
gtk/tests/testing.c
modules/input/gtkimcontextmultipress.c
modules/input/gtkimcontextthai.c
modules/input/imam-et.c
modules/input/imcedilla.c
modules/input/imcyrillic-translit.c
modules/input/iminuktitut.c
modules/input/imipa.c
modules/input/imti-er.c
modules/input/imti-et.c
modules/input/imviqr.c
modules/other/gail/gailbutton.c
modules/other/gail/gailcombobox.c
modules/other/gail/gailentry.c
modules/other/gail/gailexpander.c
modules/other/gail/gailmenuitem.c
modules/other/gail/gailrange.c
tests/testgtk.c