[gtk+] Fix the fix to the last commit



commit 0b191974935d7d24b59f9cb4083c1221b36be2bd
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Dec 16 12:42:27 2015 +0000

    Fix the fix to the last commit
    
    I should not push while compilation is still going on

 gdk/gdkpixbuf-drawable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c
index f865e32..d2c142a 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]