[gtk+] x11: Have a proper GdkVisualX11Class struct
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] x11: Have a proper GdkVisualX11Class struct
- Date: Tue, 21 Dec 2010 17:18:30 +0000 (UTC)
commit 86e0a9aef7be33f9896234cd54fe6bc329467a3a
Author: Benjamin Otte <otte redhat com>
Date: Tue Dec 21 02:09:30 2010 +0100
x11: Have a proper GdkVisualX11Class struct
gdk/x11/gdkvisual-x11.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c
index 724ec73..b324d3c 100644
--- a/gdk/x11/gdkvisual-x11.c
+++ b/gdk/x11/gdkvisual-x11.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]