From 1d0745177e7a116455811dfd26e07b848cb89b75 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 6 Nov 2017 01:02:13 +0100 Subject: Replace deprecated function usages --- main/src/ui/occupant_menu/list.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src/ui/occupant_menu') diff --git a/main/src/ui/occupant_menu/list.vala b/main/src/ui/occupant_menu/list.vala index 3477885f..47adccb6 100644 --- a/main/src/ui/occupant_menu/list.vala +++ b/main/src/ui/occupant_menu/list.vala @@ -119,10 +119,10 @@ public class List : Box { if (aff == affiliation) count++; } - Label title_label = new Label("") { margin_left=10, xalign=0, visible=true }; + Label title_label = new Label("") { margin_start=10, xalign=0, visible=true }; title_label.set_markup(@"$(Markup.escape_text(aff_str))"); - Label count_label = new Label(@"$count") { xalign=0, margin_right=7, expand=true, visible=true }; + Label count_label = new Label(@"$count") { xalign=0, margin_end=7, expand=true, visible=true }; count_label.get_style_context().add_class("dim-label"); Grid grid = new Grid() { margin_top=top?5:15, column_spacing=5, hexpand=true, visible=true }; -- cgit v1.2.3-70-g09d2