[gtk+/rendering-cleanup] Get size from wrapper, not drawable



commit 1a077ffc4dd188b877eca0c9ee90e04fac94d23c
Author: Kristian Rietveld <kris gtk org>
Date:   Wed Sep 15 11:36:13 2010 +0200

    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]