Commit 2c6564c8 authored by Michael David Emmel's avatar Michael David Emmel

Added ifdef to compile with 0.9.24 removes creating a child GdkWindow

since it uses functionality only in directfb cvs
parent 776ef101
2006-06-26 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkdirectfb.h: added ifdef to compile with directfb 0.9.24
* gdk/directfb/gdkwindow-directfb.c: ifdef depend on directfb cvs
2006-06-26 Kristian Rietveld <kris@gtk.org>
Make the insert and set functions somewhat more convenient.
......
2006-06-26 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkdirectfb.h: added ifdef to compile with directfb 0.9.24
* gdk/directfb/gdkwindow-directfb.c: ifdef depend on directfb cvs
2006-06-26 Kristian Rietveld <kris@gtk.org>
Make the insert and set functions somewhat more convenient.
......
......@@ -85,8 +85,12 @@ GdkVisual * gdk_directfb_visual_by_format (DFBSurfacePixelFormat pixel_format
IDirectFBWindow *gdk_directfb_window_lookup(GdkWindow *window);
IDirectFBSurface *gdk_directfb_surface_lookup(GdkWindow *window);
#if (DIRECTFB_MICRO_VERSION > 24)
GdkWindow *gdk_directfb_create_child_window(GdkWindow *parent,
IDirectFBSurface *subsurface);
#endif
G_END_DECLS
......
......@@ -2485,8 +2485,9 @@ gdk_window_get_frame_extents (GdkWindow *window,
/**
* Given a directfb window and a subsurface of that window
* create a gdkwindow chaild wrapper
* create a gdkwindow child wrapper
*/
#if (DIRECTFB_MICRO_VERSION > 24)
GdkWindow *gdk_directfb_create_child_window(GdkWindow *parent,
IDirectFBSurface *subsurface)
{
......@@ -2532,6 +2533,7 @@ GdkWindow *gdk_directfb_create_child_window(GdkWindow *parent,
return window;
}
#endif
/*
* The wrapping is not perfect since directfb does not give full access
......
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