From 62622a94ae6f854b6bfe9a4d1c95acdf78508cd1 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 22 Nov 2010 17:27:46 +0100 Subject: [PATCH] gdk: Pass Drawable as argument We're not passing a GdKWindow here, but the implementation. --- gdk/gdkoffscreenwindow.c | 2 +- gdk/gdkwindowimpl.h | 2 +- gdk/quartz/gdkwindow-quartz.c | 2 +- gdk/win32/gdkwindow-win32.c | 2 +- gdk/x11/gdkwindow-x11.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index 9f321eb4f2..05fc540e33 100644 --- a/gdk/gdkoffscreenwindow.c +++ b/gdk/gdkoffscreenwindow.c @@ -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) diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h index 1c9d81980b..ce7f663b6b 100644 --- a/gdk/gdkwindowimpl.h +++ b/gdk/gdkwindowimpl.h @@ -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); diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c index 11d140fd91..0f6745b430 100644 --- a/gdk/quartz/gdkwindow-quartz.c +++ b/gdk/quartz/gdkwindow-quartz.c @@ -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) diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c index 398be8dcb1..7a8cf149f8 100644 --- a/gdk/win32/gdkwindow-win32.c +++ b/gdk/win32/gdkwindow-win32.c @@ -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) diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index e2cfcb8c02..07155d0d68 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -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)