[gnome-games] retro: Add 'can_fullscreen' prop to RetroRunner



commit 3569f4bb60f526c027b11718e19d138c0f2deef7
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Jul 29 09:36:15 2016 +0200

    retro: Add 'can_fullscreen' prop to RetroRunner
    
    This will be used in a subsequent commit to support fullscreen.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769329

 src/retro/retro-runner.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index 0546d64..e760537 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -1,6 +1,10 @@
 // This file is part of GNOME Games. License: GPLv3
 
 public class Games.RetroRunner : Object, Runner {
+       public bool can_fullscreen {
+               get { return true; }
+       }
+
        public bool can_quit_safely {
                get { return !should_save; }
        }


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