mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
gdk: Pass Drawable as argument
We're not passing a GdKWindow here, but the implementation.
This commit is contained in:
parent
072498ae87
commit
62622a94ae
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user