quartz: Get size from wrapper, not drawable

This commit is contained in:
Kristian Rietveld 2010-09-15 11:36:13 +02:00 committed by Benjamin Otte
parent 0775b0a858
commit 0129b89153

View File

@ -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);
}