[gtk+/rendering-cleanup: 143/144] quartz: Get size from wrapper, not drawable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 143/144] quartz: Get size from wrapper, not drawable
- Date: Thu, 23 Sep 2010 21:29:23 +0000 (UTC)
commit bb9fe82beb2e8a3cebecab5ed1668228348212c9
Author: Kristian Rietveld <kris gtk org>
Date: Wed Sep 15 11:36:13 2010 +0200
quartz: Get size from wrapper, not drawable
gdk/quartz/gdkdrawable-quartz.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/quartz/gdkdrawable-quartz.c b/gdk/quartz/gdkdrawable-quartz.c
index 4dbce4b..e9ccc56 100644
--- a/gdk/quartz/gdkdrawable-quartz.c
+++ b/gdk/quartz/gdkdrawable-quartz.c
@@ -96,7 +96,7 @@ gdk_quartz_ref_cairo_surface (GdkDrawable *drawable)
{
int width, height;
- gdk_drawable_get_size (drawable, &width, &height);
+ gdk_drawable_get_size (impl->wrapper, &width, &height);
impl->cairo_surface = gdk_quartz_create_cairo_surface (drawable,
width, height);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]