[sushi/wip/cosimoc/no-clutter: 9/36] audio: return a GtkWidget
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/wip/cosimoc/no-clutter: 9/36] audio: return a GtkWidget
- Date: Mon, 3 Apr 2017 20:04:16 +0000 (UTC)
commit dfb08c60ba6547a12413e2f02dc7687b7b3001ab
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 files changed, 1 insertions(+), 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]