[gnome-documents/gnome-3-16] windowMode: Fix typo in method name



commit 43ebc04a90b70ee52217f44871c62ca7cc4a7f8b
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Feb 25 18:58:10 2015 +0100

    windowMode: Fix typo in method name
    
    The name of the method is setFullscreen, not _setFullscreen - outcome
    of a broken rebase.
    
    Fallout from db6fc2e9f4bfd47c4ee73d8d33e9a1efbdc21d99

 src/windowMode.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/windowMode.js b/src/windowMode.js
index 4dfa9aa..ce63d9f 100644
--- a/src/windowMode.js
+++ b/src/windowMode.js
@@ -84,7 +84,7 @@ const ModeController = new Lang.Class({
 
     _updateFullscreen: function() {
         if (!this.getCanFullscreen() && this._fullscreen)
-            this._setFullscreen(false);
+            this.setFullscreen(false);
 
         this.emit('can-fullscreen-changed');
     },


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