[gnome-shell/eos3.8: 154/255] appDisplay: Do not connect destroy signal twice
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/eos3.8: 154/255] appDisplay: Do not connect destroy signal twice
- Date: Wed, 10 Jun 2020 19:10:55 +0000 (UTC)
commit e821db20aaf35a9d74c25f4c45bf609296a7f76e
Author: Andre Moreira Magalhaes <andre endlessm com>
Date: Mon Mar 30 22:45:56 2020 -0300
appDisplay: Do not connect destroy signal twice
The ViewIcon (which AppDisplayIcon inherits) already connects the
destroy signal to the _onDestroy callback, so let's not connect twice.
https://phabricator.endlessm.com/T29660
js/ui/appDisplay.js | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 5685f7b316..c64023dae8 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -2037,8 +2037,6 @@ var AppIcon = GObject.registerClass({
this._updateRunningStyle();
});
this._updateRunningStyle();
-
- this.connect('destroy', this._onDestroy.bind(this));
}
_onDestroy() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]