Commit 62622a94 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

gdk: Pass Drawable as argument

We're not passing a GdKWindow here, but the implementation.
parent 072498ae
......@@ -643,7 +643,7 @@ gdk_offscreen_window_translate (GdkWindow *window,
}
static cairo_surface_t *
gdk_offscreen_window_resize_cairo_surface (GdkWindow *window,
gdk_offscreen_window_resize_cairo_surface (GdkDrawable *window,
cairo_surface_t *surface,
gint width,
gint height)
......
......@@ -142,7 +142,7 @@ struct _GdkWindowImplIface
gboolean recursing,
gboolean foreign_destroy);
cairo_surface_t * (* resize_cairo_surface) (GdkWindow *window,
cairo_surface_t * (* resize_cairo_surface) (GdkDrawable *window,
cairo_surface_t *surface,
gint width,
gint height);
......
......@@ -1087,7 +1087,7 @@ _gdk_quartz_window_destroy (GdkWindow *window,
}
static cairo_surface_t *
gdk_window_quartz_resize_cairo_surface (GdkWindow *window,
gdk_window_quartz_resize_cairo_surface (GdkDrawable *drawable,
cairo_surface_t *surface,
gint width,
gint height)
......
......@@ -745,7 +745,7 @@ _gdk_win32_window_destroy (GdkWindow *window,
}
static cairo_surface_t *
gdk_win32_window_resize_cairo_surface (GdkWindow *window,
gdk_win32_window_resize_cairo_surface (GdkDrawable *drawable,
cairo_surface_t *surface,
gint width,
gint height)
......
......@@ -1102,7 +1102,7 @@ _gdk_x11_window_destroy (GdkWindow *window,
}
static cairo_surface_t *
gdk_window_x11_resize_cairo_surface (GdkWindow *window,
gdk_window_x11_resize_cairo_surface (GdkDrawable *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