diff options
author | Ryan Lortie <desrt@desrt.ca> | 2010-11-09 13:30:25 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2010-11-09 13:30:25 -0500 |
commit | d8ceffab5a96c552c7dd735cbf7fb539cc2bf57d (patch) | |
tree | 128e3dee4e4167b82c415ded8c33d47fd17bfc7a /gdk/xcb/window.c | |
parent | 6613fc7b36c7603d03c05382e8956384bd843c8c (diff) | |
download | gtk+-xcb.tar.gz |
beginings of an xcb gdk backendxcb
Diffstat (limited to 'gdk/xcb/window.c')
-rw-r--r-- | gdk/xcb/window.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gdk/xcb/window.c b/gdk/xcb/window.c new file mode 100644 index 0000000000..c09fc92f9b --- /dev/null +++ b/gdk/xcb/window.c @@ -0,0 +1,48 @@ +#include "gdkwindowimpl.h" +#include "gdkinternals.h" + +typedef struct +{ + GObject parent_instance; +} GdkWindowImplXcb; + +typedef struct +{ + GObjectClass parent_class; +} GdkWindowImplXcbClass; + +static void gdk_window_impl_iface_init (GdkWindowImplIface *iface); +static GType gdk_window_impl_xcb_get_type (void); +G_DEFINE_TYPE_WITH_CODE (GdkWindowImplXcb, + gdk_window_impl_xcb, + G_TYPE_OBJECT, + G_IMPLEMENT_INTERFACE (GDK_TYPE_WINDOW_IMPL, + gdk_window_impl_iface_init)) + +static void +gdk_window_impl_xcb_init (GdkWindowImplXcb *implxcb) +{ +} + +static void +gdk_window_impl_xcb_class_init (GdkWindowImplXcbClass *class) +{ +} + +static void +gdk_window_impl_iface_init (GdkWindowImplIface *iface) +{ +} + +void +_gdk_window_impl_new (GdkWindow *window, + GdkWindow *real_parent, + GdkScreen *screen, + GdkEventMask event_mask, + GdkWindowAttr *attributes, + gint attributes_mask) +{ + GdkWindowObject *private = (GdkWindowObject *) window; + + private->impl = g_object_new (gdk_window_impl_xcb_get_type (), NULL); +} |