gdk: Pass Drawable as argument

We're not passing a GdKWindow here, but the implementation.
This commit is contained in:
Benjamin Otte 2010-11-22 17:27:46 +01:00
parent 072498ae87
commit 62622a94ae
5 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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