forked from AuroraMiddleware/gtk
gdk: Pass the GdkWindow to resize_cairo_surface vfunc
So it's in sync with all the other vfuncs.
This commit is contained in:
parent
e4c27b0a59
commit
17a0a467a1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user