From 21de7e7bfd7b226dc95d4188420c13afa9f54eb2 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Fri, 18 Sep 2020 13:11:24 +0200 Subject: [PATCH] Replace deprecated margin proporties --- clapper_src/controls.js | 4 ++-- clapper_src/revealers.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clapper_src/controls.js b/clapper_src/controls.js index 9f33251f..7bc85b9d 100644 --- a/clapper_src/controls.js +++ b/clapper_src/controls.js @@ -24,8 +24,8 @@ var Controls = GObject.registerClass({ _init() { super._init({ - margin_left: CONTROLS_MARGIN, - margin_right: CONTROLS_MARGIN, + margin_start: CONTROLS_MARGIN, + margin_end: CONTROLS_MARGIN, spacing: CONTROLS_SPACING, valign: Gtk.Align.END, }); diff --git a/clapper_src/revealers.js b/clapper_src/revealers.js index 7b6ad082..020e2d57 100644 --- a/clapper_src/revealers.js +++ b/clapper_src/revealers.js @@ -158,13 +158,13 @@ class ClapperRevealerTop extends CustomRevealer ellipsize: Pango.EllipsizeMode.END, expand: true, margin_top: 14, - margin_left: 12, + margin_start: 12, xalign: 0, yalign: 0, }); let timeLabelOpts = { - margin_right: 10, + margin_end: 10, xalign: 1, yalign: 0, };