diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index 018af47023..9ade91bee1 100644 --- a/gdk/gdkoffscreenwindow.c +++ b/gdk/gdkoffscreenwindow.c @@ -611,7 +611,7 @@ gdk_offscreen_window_translate (GdkWindow *window, } static cairo_surface_t * -gdk_offscreen_window_resize_cairo_surface (GdkDrawable *window, +gdk_offscreen_window_resize_cairo_surface (GdkWindow *window, cairo_surface_t *surface, gint width, gint height) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index a03e52ec12..d7061023b4 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -1052,7 +1052,7 @@ recompute_visible_regions_internal (GdkWindow *private, { GdkWindowImplClass *iface = GDK_WINDOW_IMPL_GET_CLASS (private->impl); - private->cairo_surface = iface->resize_cairo_surface (private->impl, + private->cairo_surface = iface->resize_cairo_surface (private, private->cairo_surface, private->width, private->height); diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h index ece83a226e..17edbcaad4 100644 --- a/gdk/gdkwindowimpl.h +++ b/gdk/gdkwindowimpl.h @@ -152,7 +152,7 @@ struct _GdkWindowImplClass gboolean recursing, gboolean foreign_destroy); - cairo_surface_t * (* resize_cairo_surface) (GdkDrawable *window, + cairo_surface_t * (* resize_cairo_surface) (GdkWindow *window, cairo_surface_t *surface, gint width, gint height); diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c index 634b20eeac..4efe872fad 100644 --- a/gdk/quartz/gdkwindow-quartz.c +++ b/gdk/quartz/gdkwindow-quartz.c @@ -1081,7 +1081,7 @@ _gdk_quartz_window_destroy (GdkWindow *window, } static cairo_surface_t * -gdk_window_quartz_resize_cairo_surface (GdkDrawable *drawable, +gdk_window_quartz_resize_cairo_surface (GdkWindow *window, cairo_surface_t *surface, gint width, gint height) diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c index 5cd3afb216..8b73ac2edb 100644 --- a/gdk/win32/gdkwindow-win32.c +++ b/gdk/win32/gdkwindow-win32.c @@ -739,7 +739,7 @@ _gdk_win32_window_destroy (GdkWindow *window, } static cairo_surface_t * -gdk_win32_window_resize_cairo_surface (GdkDrawable *drawable, +gdk_win32_window_resize_cairo_surface (GdkWindow *window, cairo_surface_t *surface, gint width, gint height) diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index d7eed9e75f..79b1547e96 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -1048,7 +1048,7 @@ _gdk_x11_window_destroy (GdkWindow *window, } static cairo_surface_t * -gdk_window_x11_resize_cairo_surface (GdkDrawable *window, +gdk_window_x11_resize_cairo_surface (GdkWindow *window, cairo_surface_t *surface, gint width, gint height)