[gnome-games/wip/exalm/gtk4: 209/238] application-window: Replace GdkWindow with GdkSurface



commit 67fef4a9f444875cc325f03585255ba4fa557c3d
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sun Jul 29 01:16:22 2018 +0500

    application-window: Replace GdkWindow with GdkSurface

 src/ui/application-window.vala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/ui/application-window.vala b/src/ui/application-window.vala
index 401f9ce0..af2204ae 100644
--- a/src/ui/application-window.vala
+++ b/src/ui/application-window.vala
@@ -249,11 +249,11 @@ private class Games.ApplicationWindow : Gtk.ApplicationWindow {
                if (display == null)
                        return null;
 
-               var window = get_window ();
-               if (window == null)
+               var surface = get_surface ();
+               if (surface == null)
                        return null;
 
-               var monitor = display.get_monitor_at_window (window);
+               var monitor = display.get_monitor_at_surface (surface);
                if (monitor == null)
                        return null;
 


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