[gnome-games/wip/exalm/mame: 20/33] retro-runner: Remove game-init and game-deinit signals



commit 8b0eb56bca8246b6bf3de96c85c07f3bc4adbbaa
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jan 23 02:02:01 2020 +0500

    retro-runner: Remove game-init and game-deinit signals

 src/retro/retro-runner.vala | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index d305b62e..ee654f33 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -3,9 +3,6 @@
 public class Games.RetroRunner : Object, Runner {
        private const int MAX_AUTOSAVES = 5;
 
-       public signal void game_init ();
-       public signal void game_deinit ();
-
        public bool can_fullscreen {
                get { return true; }
        }
@@ -289,8 +286,6 @@ public class Games.RetroRunner : Object, Runner {
 
                settings.changed["video-filter"].disconnect (on_video_filter_changed);
 
-               game_deinit ();
-
                core = null;
                view.set_core (null);
                view = null;
@@ -330,8 +325,6 @@ public class Games.RetroRunner : Object, Runner {
                                critical (e.message);
                        }
 
-               game_init ();
-
                var platforms_dir = Application.get_platforms_dir ();
                var platform_id = platform.get_id ();
                core.system_directory = @"$platforms_dir/$platform_id/system";


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