gdk: cast impl to GdkWindow* when calling gdk_drawable_get_size()

This commit is contained in:
Michael Natterer
2010-11-18 13:24:51 +01:00
parent 95f588dc78
commit 2ab90f5d65

View File

@@ -5139,7 +5139,8 @@ gdk_window_ref_cairo_surface (GdkDrawable *drawable)
int width, height;
GdkDrawable *source;
gdk_drawable_get_size (private->impl_window, &width, &height);
gdk_drawable_get_size ((GdkWindow *) private->impl_window,
&width, &height);
source = _gdk_drawable_get_source_drawable (drawable);