x11: Have a proper GdkVisualX11Class struct

This commit is contained in:
Benjamin Otte 2010-12-21 02:09:30 +01:00 committed by Matthias Clasen
parent 21d8160c57
commit 86e0a9aef7

View File

@ -34,7 +34,7 @@
#include <X11/Xutil.h>
typedef struct _GdkVisualX11 GdkVisualX11;
typedef struct _GdkVisualClass GdkVisualX11Class;
typedef struct _GdkVisualX11Class GdkVisualX11Class;
#define GDK_TYPE_VISUAL_X11 (gdk_visual_x11_get_type ())
#define GDK_VISUAL_X11(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_VISUAL_X11, GdkVisualX11))
@ -47,6 +47,11 @@ struct _GdkVisualX11
Colormap colormap;
};
struct _GdkVisualX11Class
{
GdkVisualClass visual_class;
};
static void gdk_visual_add (GdkVisual *visual);
static void gdk_visual_decompose_mask (gulong mask,
gint *shift,