gdk: Pass the GdkWindow to resize_cairo_surface vfunc

So it's in sync with all the other vfuncs.
This commit is contained in:
Benjamin Otte 2010-11-23 02:09:01 +01:00
parent e4c27b0a59
commit 17a0a467a1
6 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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);

View File

@ -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);

View File

@ -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)

View File

@ -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)

View File

@ -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)