[sushi/wip/cosimoc/no-clutter: 23/67] fallbackRenderer: return a GtkWidget



commit 2791d22ec919603dba4203215665ba0642588b88
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Apr 3 12:36:12 2017 -0700

    fallbackRenderer: return a GtkWidget

 src/js/ui/fallbackRenderer.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/js/ui/fallbackRenderer.js b/src/js/ui/fallbackRenderer.js
index 20e2aa5..3db110a 100644
--- a/src/js/ui/fallbackRenderer.js
+++ b/src/js/ui/fallbackRenderer.js
@@ -97,14 +97,12 @@ const FallbackRenderer = new Lang.Class({
         this._applyLabels();
 
         this._box.show_all();
-        this._actor = new GtkClutter.Actor({ contents: this._box });
-        Utils.alphaGtkWidget(this._actor.get_widget());
 
         callback();
     },
 
     render : function() {
-        return this._actor;
+        return this._box;
     },
 
     _applyLabels : function() {


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