diff --git a/src/extension.js b/src/extension.js index 4bb12e2..c88bbf2 100644 --- a/src/extension.js +++ b/src/extension.js @@ -336,7 +336,7 @@ const OpenweatherMenuButton = new Lang.Class({ this._timeoutForecast = undefined; if (this._presence_connection) { - this._presence.disconnect(this._presence_connection); + this._presence.disconnectSignal(this._presence_connection); this._presence_connection = undefined; }