[gnome-games/wip/exalm/subprocess: 10/13] Revert "Revert "retro-runner: Remove game-init and game-deinit signals""



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

    Revert "Revert "retro-runner: Remove game-init and game-deinit signals""
    
    This reverts commit f2aa94b31ae9c2f00639bc0128a75ada00c1d418.

 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 d021a179..6cb16bb4 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; }
        }
@@ -288,8 +285,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;
@@ -329,8 +324,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]