[gtk+/rendering-cleanup: 46/65] gdk: Pass the GdkWindow to resize_cairo_surface vfunc
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 46/65] gdk: Pass the GdkWindow to resize_cairo_surface vfunc
- Date: Thu, 2 Dec 2010 11:55:18 +0000 (UTC)
commit 0126df7a412ab8bfe642a26ea92e7fcff40588a8
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 23 02:09:01 2010 +0100
gdk: Pass the GdkWindow to resize_cairo_surface vfunc
So it's in sync with all the other vfuncs.
gdk/gdkoffscreenwindow.c | 2 +-
gdk/gdkwindow.c | 2 +-
gdk/gdkwindowimpl.h | 2 +-
gdk/quartz/gdkwindow-quartz.c | 2 +-
gdk/win32/gdkwindow-win32.c | 2 +-
gdk/x11/gdkwindow-x11.c | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index 018af47..9ade91b 100644
--- a/gdk/gdkoffscreenwindow.c
+++ b/gdk/gdkoffscreenwindow.c
@@ -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)
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index a03e52e..d706102 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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);
diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h
index ece83a2..17edbca 100644
--- a/gdk/gdkwindowimpl.h
+++ b/gdk/gdkwindowimpl.h
@@ -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);
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 634b20e..4efe872 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -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)
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 5cd3afb..8b73ac2 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -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)
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index d7eed9e..79b1547 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]