Commit 17a0a467 authored by Benjamin Otte's avatar Benjamin Otte

gdk: Pass the GdkWindow to resize_cairo_surface vfunc

So it's in sync with all the other vfuncs.
parent e4c27b0a
......@@ -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)
......
......@@ -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);
......
......@@ -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);
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
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