[sushi/wip/cosimoc/no-clutter: 6/66] fallbackRenderer: return a GtkWidget



commit 07bed3a3be485684a1c5a887808911c16a5be554
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 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/js/ui/fallbackRenderer.js b/src/js/ui/fallbackRenderer.js
index 57243a3..9e9bfbe 100644
--- a/src/js/ui/fallbackRenderer.js
+++ b/src/js/ui/fallbackRenderer.js
@@ -97,14 +97,12 @@ var 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]