[gnome-shell/gnome-3-34] keyboard: Stop accessing deprecated actor property



commit fb74394d58349f6f85c6058043013b3fdc45fbdb
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Dec 20 14:37:31 2019 +0100

    keyboard: Stop accessing deprecated actor property
    
    Commit 3d3dca4aa2 turned EmojiPager into a Clutter.Actor subclass,
    but one place slipped through that still accesses it through .actor.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/2060

 js/ui/keyboard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 3d8e84f567..b4406d7246 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -894,7 +894,7 @@ var EmojiSelection = class EmojiSelection {
         this._emojiPager.connect('emoji', (pager, str) => {
             this.emit('emoji-selected', str);
         });
-        this.actor.add(this._emojiPager.actor, { expand: true });
+        this.actor.add(this._emojiPager, { expand: true });
 
         this._pageIndicator = new PageIndicators.PageIndicators(false);
         this.actor.add(this._pageIndicator, { expand: true, x_fill: false, y_fill: false });


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