[gtk+] gdk: Pass Drawable as argument
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: Pass Drawable as argument
- Date: Thu, 2 Dec 2010 19:54:51 +0000 (UTC)
commit 62622a94ae6f854b6bfe9a4d1c95acdf78508cd1
Author: Benjamin Otte <otte redhat com>
Date: Mon Nov 22 17:27:46 2010 +0100
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 9f321eb..05fc540 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 1c9d819..ce7f663 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 11d140f..0f6745b 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 398be8d..7a8cf14 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 e2cfcb8..07155d0 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]