[gnome-games/wip/exalm/subprocess: 4/6] retro-runner: Remove game-init and game-deinit signals



commit 2e28358048e16f451f68b79ea1aca74ff3b8202b
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jan 10 18:54:07 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 52f453d0..8a4cada0 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; }
        }
@@ -286,8 +283,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;
@@ -327,8 +322,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]