[gnome-games/wip/exalm/runner-refactor: 17/58] savestate: Make load() public



commit c4a568bd6695b3d006b3b9ad0f8cd1b55ff9139a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Mar 6 16:05:18 2020 +0500

    savestate: Make load() public

 src/core/savestate.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/core/savestate.vala b/src/core/savestate.vala
index 2ffdc04c..c036c1e6 100644
--- a/src/core/savestate.vala
+++ b/src/core/savestate.vala
@@ -10,7 +10,7 @@ public class Games.Savestate : Object {
        public DateTime? creation_date { get; set; }
        public double screenshot_aspect_ratio { get; set; }
 
-       private static Savestate load (Platform platform, string core_id, string path) {
+       public static Savestate load (Platform platform, string core_id, string path) {
                var type = platform.get_savestate_type ();
 
                var savestate = Object.new (type,


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