[gnome-2048/arnaudb/wip/gtk4: 9/34] Adapt size_allocate() method.



commit c42438a3f66a180395e5d0f2f01b3a61ab104336
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 28 07:52:23 2020 +0200

    Adapt size_allocate() method.

 src/game-window.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/game-window.vala b/src/game-window.vala
index cf71999..2164f49 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -176,7 +176,7 @@ private class GameWindow : ApplicationWindow
         _settings.apply ();
     }
 
-    private static void size_allocate_cb (Widget widget, Allocation allocation)
+    private static void size_allocate_cb (Widget widget, int width, int height, int baseline)
     {
         GameWindow _this = (GameWindow) widget;
         if (_this._window_is_maximized || _this._window_is_tiled || _this._window_is_fullscreen)


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