Commit 86e0a9ae authored by Benjamin Otte's avatar Benjamin Otte Committed by Matthias Clasen
Browse files

x11: Have a proper GdkVisualX11Class struct

parent 21d8160c
......@@ -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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment