[gnome-games/wip/exalm/gameapd: 5/14] gamepad-view-configuration: Define namespace explicitly



commit 0e69219259f961fc0dfcddf5c6c185d8adcd9b58
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Mar 4 19:37:13 2020 +0500

    gamepad-view-configuration: Define namespace explicitly

 src/ui/gamepad-view-configuration.vala | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/src/ui/gamepad-view-configuration.vala b/src/ui/gamepad-view-configuration.vala
index fb3be00a..1823d778 100644
--- a/src/ui/gamepad-view-configuration.vala
+++ b/src/ui/gamepad-view-configuration.vala
@@ -1,11 +1,13 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private struct Games.GamepadInputPath {
-       GamepadInput input;
-       string path;
-}
+namespace Games {
+       private struct GamepadInputPath {
+               GamepadInput input;
+               string path;
+       }
 
-private struct Games.GamepadViewConfiguration {
-       string svg_path;
-       GamepadInputPath[] input_paths;
+       private struct GamepadViewConfiguration {
+               string svg_path;
+               GamepadInputPath[] input_paths;
+       }
 }


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