[gnome-documents/wip/rishi/split-view: 5/18] windowMode: Mark _setCanFullscreen as private
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/rishi/split-view: 5/18] windowMode: Mark _setCanFullscreen as private
- Date: Fri, 13 Feb 2015 15:08:13 +0000 (UTC)
commit cab2c20d43c62f70f6eb5d11c6621891565ad469
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Oct 15 14:58:57 2014 +0200
windowMode: Mark _setCanFullscreen as private
We are not using it outside this class, and the rest of the
application should only need getCanFullscreen.
https://bugzilla.gnome.org/show_bug.cgi?id=686461
src/windowMode.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/windowMode.js b/src/windowMode.js
index f07488c..e76b368 100644
--- a/src/windowMode.js
+++ b/src/windowMode.js
@@ -53,7 +53,7 @@ const ModeController = new Lang.Class({
return;
let policy = this._canFullscreenPolicy(oldMode);
- this.setCanFullscreen(policy);
+ this._setCanFullscreen(policy);
// Swap the old and current modes.
let tmp = oldMode;
@@ -70,7 +70,7 @@ const ModeController = new Lang.Class({
return;
let policy = this._canFullscreenPolicy(mode);
- this.setCanFullscreen(policy);
+ this._setCanFullscreen(policy);
this._history.push(oldMode);
this._mode = mode;
@@ -82,7 +82,7 @@ const ModeController = new Lang.Class({
return this._mode;
},
- setCanFullscreen: function(canFullscreen) {
+ _setCanFullscreen: function(canFullscreen) {
this._canFullscreen = canFullscreen;
if (!this._canFullscreen && this._fullscreen)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]