[gnome-games/wip/exalm/runner-refactor: 9/33] retro-runner: Move get_unsupported_system_message() next to where it's used



commit 2804b0d02450e3f8ca1ff5733263fec2b9eb6af6
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Mar 6 15:26:18 2020 +0500

    retro-runner: Move get_unsupported_system_message() next to where it's used

 src/retro/retro-runner.vala | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index fbecd5eb..9e531026 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -106,6 +106,14 @@ public class Games.RetroRunner : Object, Runner {
                deinit ();
        }
 
+       private string get_unsupported_system_message () {
+               var platform_name = game.platform.get_name ();
+               if (platform_name != null)
+                       return _("The system “%s” isn’t supported yet, but full support is planned.").printf 
(platform_name);
+
+               return _("The system isn’t supported yet, but full support is planned.");
+       }
+
        public void try_init_phase_one () throws RunnerError {
                try {
                        init_phase_one ();
@@ -581,14 +589,6 @@ public class Games.RetroRunner : Object, Runner {
                             null);
        }
 
-       private string get_unsupported_system_message () {
-               var platform_name = game.platform.get_name ();
-               if (platform_name != null)
-                       return _("The system “%s” isn’t supported yet, but full support is planned.").printf 
(platform_name);
-
-               return _("The system isn’t supported yet, but full support is planned.");
-       }
-
        public Retro.Core get_core () {
                return core;
        }


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