mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
quartz: Get size from wrapper, not drawable
This commit is contained in:
parent
0775b0a858
commit
0129b89153
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user