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 --- plugins/omemo/src/account_settings_widget.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/omemo') diff --git a/plugins/omemo/src/account_settings_widget.vala b/plugins/omemo/src/account_settings_widget.vala index cec0eecd..6db193fc 100644 --- a/plugins/omemo/src/account_settings_widget.vala +++ b/plugins/omemo/src/account_settings_widget.vala @@ -15,7 +15,8 @@ public class AccountSettingWidget : Plugins.AccountSettingsWidget, Box { fingerprint = new Label("..."); fingerprint.xalign = 0; Border border = new Button().get_style_context().get_padding(StateFlags.NORMAL); - fingerprint.set_padding(border.left + 1, border.top + 1); + fingerprint.margin_top = border.top + 1; + fingerprint.margin_start = border.left + 1; fingerprint.visible = true; pack_start(fingerprint); -- cgit v1.2.3-70-g09d2