aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/account_settings_widget.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-11-06 01:02:13 +0100
committerfiaxh <git@mx.ax.lt>2017-11-16 14:09:30 +0100
commit1d0745177e7a116455811dfd26e07b848cb89b75 (patch)
tree7517c4b1e1fd932e22bff091c9eb93f1c1884b35 /plugins/omemo/src/account_settings_widget.vala
parentf6ac5bbd26638412a2289fd1d28ef12de1d7e8b5 (diff)
downloaddino-1d0745177e7a116455811dfd26e07b848cb89b75.tar.gz
dino-1d0745177e7a116455811dfd26e07b848cb89b75.zip
Replace deprecated function usages
Diffstat (limited to 'plugins/omemo/src/account_settings_widget.vala')
-rw-r--r--plugins/omemo/src/account_settings_widget.vala3
1 files changed, 2 insertions, 1 deletions
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);