[gnome-shell] iconGrid: Remove this.actor definition to BaseIcon



commit ad491e792258396f20146f09de20c10f4fbc4a69
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date:   Tue Apr 9 18:25:20 2019 -0500

    iconGrid: Remove this.actor definition to BaseIcon
    
    Remove this.actor = actor, since the class is now an actor itself.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487

 js/ui/iconGrid.js | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index d51a443e8..fea6970dd 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -43,8 +43,6 @@ class BaseIcon extends St.Bin {
                       x_fill: true,
                       y_fill: true });
 
-        this.actor = this;
-
         this.connect('destroy', this._onDestroy.bind(this));
 
         this._box = new St.BoxLayout({ vertical: true });
@@ -188,8 +186,6 @@ var IconGrid = GObject.registerClass({
         super._init({ style_class: 'icon-grid',
                       y_align: Clutter.ActorAlign.START });
 
-        this.actor = this;
-
         params = Params.parse(params, { rowLimit: null,
                                         columnLimit: null,
                                         minRows: 1,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]