[gnome-games] retro-runner: Notify on supports_snapshots property changes
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro-runner: Notify on supports_snapshots property changes
- Date: Sat, 20 Mar 2021 22:18:42 +0000 (UTC)
commit f6537aac427f5eebc02a8e90fa653f1ff6f691ce
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Mar 21 03:17:26 2021 +0500
retro-runner: Notify on supports_snapshots property changes
src/retro/retro-runner.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index cc909972..42e91adf 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -275,6 +275,8 @@ public class Games.RetroRunner : Object, Runner {
core.run ();
running = true;
started = true;
+
+ notify_property ("supports-snapshots");
}
public void pause () {
@@ -351,6 +353,8 @@ public class Games.RetroRunner : Object, Runner {
_running = false;
started = false;
core_loaded = false;
+
+ notify_property ("supports-snapshots");
}
public Snapshot? try_create_snapshot (bool is_automatic) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]