[gnome-shell] environment: Stop adding child_set() to layout managers
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] environment: Stop adding child_set() to layout managers
- Date: Wed, 6 Nov 2019 09:46:37 +0000 (UTC)
commit 3913fa5044b2cd1d5abadc9b4254d06215491458
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Nov 6 00:08:04 2019 +0100
environment: Stop adding child_set() to layout managers
We no longer use any layout managers that use custom child properties
instead of the generic Clutter.Actor properties, so this override
is completely unused.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/808
js/ui/environment.js | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/js/ui/environment.js b/js/ui/environment.js
index 45df938086..4b330e5da5 100644
--- a/js/ui/environment.js
+++ b/js/ui/environment.js
@@ -51,11 +51,6 @@ function _patchLayoutClass(layoutClass, styleProps) {
}
});
};
- layoutClass.prototype.child_set = function(actor, props) {
- let meta = this.get_child_meta(actor.get_parent(), actor);
- for (let prop in props)
- meta[prop] = props[prop];
- };
}
function _makeEaseCallback(params, cleanup) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]