diff options
author | Attilio Fiandrotti <attilio@src.gnome.org> | 2007-05-20 21:51:10 +0000 |
---|---|---|
committer | Attilio Fiandrotti <attilio@src.gnome.org> | 2007-05-20 21:51:10 +0000 |
commit | ffbf29ea1f86ef02653c66fcde822abf8f1539dc (patch) | |
tree | d3876d0f7b30002865da388fbb1f9d9c76b7a99f /gdk/directfb | |
parent | 4e298601c4b4bd07a1341abf6d5a101da29bcdb7 (diff) | |
download | gtk+-ffbf29ea1f86ef02653c66fcde822abf8f1539dc.tar.gz |
Updated minimum DirectFB version required to enable gdk_directfb_create_child_window()
svn path=/trunk/; revision=17879
Diffstat (limited to 'gdk/directfb')
-rw-r--r-- | gdk/directfb/gdkdirectfb.h | 2 | ||||
-rw-r--r-- | gdk/directfb/gdkwindow-directfb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdk/directfb/gdkdirectfb.h b/gdk/directfb/gdkdirectfb.h index 05a2b8624d..bf34802090 100644 --- a/gdk/directfb/gdkdirectfb.h +++ b/gdk/directfb/gdkdirectfb.h @@ -86,7 +86,7 @@ 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 > 25) +#if (DIRECTFB_MAJOR_VERSION >= 1) GdkWindow *gdk_directfb_create_child_window(GdkWindow *parent, IDirectFBSurface *subsurface); #endif diff --git a/gdk/directfb/gdkwindow-directfb.c b/gdk/directfb/gdkwindow-directfb.c index 8fa2d70e1a..cca1cdaf8e 100644 --- a/gdk/directfb/gdkwindow-directfb.c +++ b/gdk/directfb/gdkwindow-directfb.c @@ -2521,7 +2521,7 @@ gdk_window_get_frame_extents (GdkWindow *window, * Given a directfb window and a subsurface of that window * create a gdkwindow child wrapper */ -#if (DIRECTFB_MICRO_VERSION > 25) +#if (DIRECTFB_MAJOR_VERSION >= 1) GdkWindow *gdk_directfb_create_child_window(GdkWindow *parent, IDirectFBSurface *subsurface) { |