[gtk+/gdk-backend] x11: Have a proper GdkVisualX11Class struct



commit 1ddf514736f18e27cf5544e43bd8ebd3da68df10
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]