[gnome-shell] fix typos



commit 252dce1ec2aa0ead84d14379a624bdc0768bd286
Author: Allan Day <allanpday gmail com>
Date:   Wed Mar 1 15:19:15 2017 +0000

    fix typos
    
    The shell was crashing for me - these fixes from Debarshi seem to
    fix it.

 js/misc/util.js   |    2 +-
 js/ui/dateMenu.js |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/misc/util.js b/js/misc/util.js
index 20d6f27..d4026e2 100644
--- a/js/misc/util.js
+++ b/js/misc/util.js
@@ -501,7 +501,7 @@ const AppSettingsMonitor = new Lang.Class({
             this._setSettings(null);
     },
 
-    _setSettings(settings) {
+    _setSettings: function(settings) {
         this._handlers.forEach((handler) => { this._disconnectHandler(handler); });
 
         let hadSettings = (this._settings != null);
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index 5380672..eec1985 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -431,7 +431,7 @@ const CalendarColumnLayout = new Lang.Class({
     Name: 'CalendarColumnLayout',
     Extends: Clutter.BoxLayout,
 
-    _init(actor) {
+    _init: function(actor) {
         this.parent({ orientation: Clutter.Orientation.VERTICAL });
         this._calActor = actor;
     },


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