[gimp] plug-ins: hopefully make it build after my GdkScreen/GdkMonitor b0rk



commit 9f800b05b4fa35ab65c0bea550138f4177df5ec7
Author: Michael Natterer <mitch gimp org>
Date:   Mon May 28 18:40:38 2018 +0200

    plug-ins: hopefully make it build after my GdkScreen/GdkMonitor b0rk

 plug-ins/screenshot/screenshot-win32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/screenshot/screenshot-win32.c b/plug-ins/screenshot/screenshot-win32.c
index a11ca68b90..6a27c24ea1 100644
--- a/plug-ins/screenshot/screenshot-win32.c
+++ b/plug-ins/screenshot/screenshot-win32.c
@@ -161,7 +161,7 @@ screenshot_win32_get_capabilities (void)
 
 GimpPDBStatusType
 screenshot_win32_shoot (ScreenshotValues  *shootvals,
-                        GdkScreen         *screen,
+                        GdkMonitor        *monitor,
                         gint32            *image_ID,
                         GError           **error)
 {
@@ -200,7 +200,7 @@ screenshot_win32_shoot (ScreenshotValues  *shootvals,
        * considering above comment. Just make so that it at least
        * compiles!
        */
-      profile = gimp_screen_get_color_profile (screen, shootvals->monitor);
+      profile = gimp_monitor_get_color_profile (monitor);
 
       if (profile)
         {


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