diff --git a/gdk/directfb/gdkdirectfb.h b/gdk/directfb/gdkdirectfb.h index 38008c220b..05a2b8624d 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 > 24) +#if (DIRECTFB_MICRO_VERSION > 25) 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 3a24482c96..d011a2fd00 100644 --- a/gdk/directfb/gdkwindow-directfb.c +++ b/gdk/directfb/gdkwindow-directfb.c @@ -2487,7 +2487,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 > 24) +#if (DIRECTFB_MICRO_VERSION > 25) GdkWindow *gdk_directfb_create_child_window(GdkWindow *parent, IDirectFBSurface *subsurface) {