[gnome-sound-recorder/bilelmoussaoui/misc: 1/6] waveform: set props at init
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder/bilelmoussaoui/misc: 1/6] waveform: set props at init
- Date: Sun, 14 Jun 2020 13:59:15 +0000 (UTC)
commit 9752c8c62849170fb70707ee973b0f7458b7996e
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Sun Jun 14 15:26:39 2020 +0200
waveform: set props at init
src/waveform.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/waveform.js b/src/waveform.js
index 810364c..3720867 100644
--- a/src/waveform.js
+++ b/src/waveform.js
@@ -30,11 +30,11 @@ var WaveForm = GObject.registerClass({
}, class WaveForm extends Gtk.DrawingArea {
_init() {
- super._init({});
+ super._init({
+ vexpand: true,
+ valign: Gtk.Align.FILL,
+ });
this.peaks = [];
-
- this.set_property('vexpand', true);
- this.set_property('valign', Gtk.Align.FILL);
this.show();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]