[sushi/wip/cosimoc/no-clutter: 8/66] audio: return a GtkWidget



commit f56846d536933fe10aef6742c48e3a371c39cc16
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Apr 3 12:37:09 2017 -0700

    audio: return a GtkWidget

 src/js/viewers/audio.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/js/viewers/audio.js b/src/js/viewers/audio.js
index b0c0e08..4797652 100644
--- a/src/js/viewers/audio.js
+++ b/src/js/viewers/audio.js
@@ -27,7 +27,6 @@ const GdkPixbuf = imports.gi.GdkPixbuf;
 const Gio = imports.gi.Gio;
 const Gst = imports.gi.Gst;
 const Gtk = imports.gi.Gtk;
-const GtkClutter = imports.gi.GtkClutter;
 const Sushi = imports.gi.Sushi;
 
 const Gettext = imports.gettext.domain('sushi');
@@ -80,13 +79,12 @@ const AudioRenderer = new Lang.Class({
         vbox.pack_start(this._albumLabel, false, false, 0);
 
         this._box.show_all();
-        this._actor = new GtkClutter.Actor({ contents: this._box });
 
         this._callback();
     },
 
     render : function() {
-        return this._actor;
+        return this._box;
     },
 
     _createPlayer : function(file) {


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