[lightsoff/arnaudb/wip/gtk4: 21/28] Fix bug.




commit d2e40ddcab70ae35469445ea1ea18cfdf6a7af83
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Nov 28 13:15:41 2020 +0100

    Fix bug.

 src/lightsoff-window.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/lightsoff-window.vala b/src/lightsoff-window.vala
index ecf064f..7794164 100644
--- a/src/lightsoff-window.vala
+++ b/src/lightsoff-window.vala
@@ -199,7 +199,7 @@ private class LightsoffWindow : ManagedWindow
 [GtkTemplate (ui = "/org/gnome/LightsOff/ui/game-button.ui")]
 private class GameButton : Widget
 {
-    private MenuButton menu_button;
+    [GtkChild] private MenuButton menu_button;
 
     internal void set_label (string new_label)
     {


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