fix typos

The shell was crashing for me - these fixes from Debarshi seem to
fix it.
This commit is contained in:
Allan Day 2017-03-01 15:19:15 +00:00
parent da0066eb84
commit 252dce1ec2
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
},