portalHelper: Fix signal arguments

How did this work in tests?!

https://bugzilla.gnome.org/show_bug.cgi?id=778552
This commit is contained in:
Bastien Nocera 2017-02-13 11:11:26 +01:00
parent 98cdd44543
commit b5bf82b5db

View File

@ -192,7 +192,7 @@ const PortalWindow = new Lang.Class({
return false;
},
_onLoadChanged: function(loadEvent) {
_onLoadChanged: function(view, loadEvent) {
if (loadEvent == WebKit.LOAD_STARTED) {
this._headerBar.setSecurityIcon(PortalHelperSecurityLevel.NOT_YET_DETERMINED);
} else if (loadEvent == WebKit.LOAD_COMMITTED) {
@ -206,7 +206,7 @@ const PortalWindow = new Lang.Class({
}
},
_onInsecureContentDetected: function (insecureContentEvent) {
_onInsecureContentDetected: function () {
this._headerBar.setSecurityIcon(PortalHelperSecurityLevel.INSECURE);
},