From 0b191974935d7d24b59f9cb4083c1221b36be2bd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 16 Dec 2015 12:42:27 +0000 Subject: [PATCH] Fix the fix to the last commit I should not push while compilation is still going on --- gdk/gdkpixbuf-drawable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c index f865e32b89..d2c142ae43 100644 --- a/gdk/gdkpixbuf-drawable.c +++ b/gdk/gdkpixbuf-drawable.c @@ -97,7 +97,7 @@ gdk_pixbuf_get_from_window (GdkWindow *src, g_return_val_if_fail (gdk_window_is_viewable (src), NULL); surface = _gdk_window_ref_cairo_surface (src); - scale = gdk_window_get_scale_factor (window); + scale = gdk_window_get_scale_factor (src); /* We do not know what happened to this surface outside of GDK. * Especially for foreign windows, they will have been modified