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:
Owen Taylor
2002-05-14 19:15:46 +00:00
committed by Owen Taylor
parent ba2a16d3b1
commit 44859f939c
9 changed files with 122 additions and 24 deletions

View File

@ -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;