Try adding a #ifndef/#define for XkbKeySymEntry to make up for OSF broken
Tue May 14 15:09:33 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c: Try adding a #ifndef/#define for XkbKeySymEntry to make up for OSF broken XKB extension. (#77819, Gareth Pearce) * gtk/gtklayout.c: Clamp the upper values in response to ::size-allocate if necessary. (#81290, Christophe Saout) * gtk/gtkcombo.c (gtk_combo_entry_focus_out): Handle combo being destroyed before idle fires. (#81396, Timo Sirainen)
This commit is contained in:
@ -43,7 +43,14 @@
|
||||
|
||||
#ifdef HAVE_XKB
|
||||
#include <X11/XKBlib.h>
|
||||
#endif
|
||||
|
||||
/* OSF-4.0 is apparently missing this macro
|
||||
*/
|
||||
# ifndef XkbKeySymEntry
|
||||
# define XkbKeySymEntry(d,k,sl,g) \
|
||||
(XkbKeySym(d,k,((XkbKeyGroupsWidth(d,k)*(g))+(sl))))
|
||||
# endif
|
||||
#endif /* HAVE_XKB */
|
||||
|
||||
typedef struct _GdkKeymapX11 GdkKeymapX11;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user