From ea9949563c15c891bdc29f8a851fc5bb5deb1922 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Sun, 10 Jan 2021 20:13:43 -0500 Subject: shutdown-dialog: margin left/right -> margin_start_end. Ref: https://valadoc.org/gtk+-3.0/Gtk.Widget.margin_left.html Ref: https://valadoc.org/gtk+-3.0/Gtk.Widget.margin_right.html Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/dcbb38af4d3f4276889f958b883c962bb8957fa6 --- src/shutdown-dialog.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shutdown-dialog.vala') diff --git a/src/shutdown-dialog.vala b/src/shutdown-dialog.vala index cf5e4a0..18e44b1 100644 --- a/src/shutdown-dialog.vala +++ b/src/shutdown-dialog.vala @@ -83,8 +83,8 @@ public class ShutdownDialog : Gtk.Fixed vbox.margin = BORDER_INTERNAL_SIZE; vbox.margin_top += 9; - vbox.margin_left += 20; - vbox.margin_right += 20; + vbox.margin_start += 20; + vbox.margin_end += 20; vbox.margin_bottom += 2; // This event box consumes the click events inside the vbox -- cgit v1.2.3