Mercurial > hg > xemacs-beta
diff src/console-gtk-impl.h @ 2054:91d4c8c65a0f
[xemacs-hg @ 2004-05-02 04:06:51 by malcolmp]
Fix warnings and errors when building GTK using C++ and --use-union-type.
author | malcolmp |
---|---|
date | Sun, 02 May 2004 04:07:01 +0000 |
parents | 01c57eb70ae9 |
children | 95fee4a1420e |
line wrap: on
line diff
--- a/src/console-gtk-impl.h Sat May 01 21:50:40 2004 +0000 +++ b/src/console-gtk-impl.h Sun May 02 04:07:01 2004 +0000 @@ -37,6 +37,7 @@ #include "console-impl.h" #include "console-gtk.h" +#include <X11/Xlib.h> #define GDK_DRAWABLE(x) (GdkDrawable *) (x) #define GET_GTK_WIDGET_WINDOW(x) (GTK_WIDGET (x)->window) @@ -66,11 +67,11 @@ /* The following items are all used exclusively in event-gtk.c. */ int MetaMask, HyperMask, SuperMask, AltMask, ModeMask; - guint lock_interpretation; + KeySym lock_interpretation; - void *x_modifier_keymap; /* Really an (XModifierKeymap *)*/ + XModifierKeymap *x_modifier_keymap; - guint *x_keysym_map; + KeySym *x_keysym_map; int x_keysym_map_min_code; int x_keysym_map_max_code; int x_keysym_map_keysyms_per_code;