aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/account_settings_entry.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/omemo/src/account_settings_entry.vala')
-rw-r--r--plugins/omemo/src/account_settings_entry.vala7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/omemo/src/account_settings_entry.vala b/plugins/omemo/src/account_settings_entry.vala
index c6871f6e..3866febe 100644
--- a/plugins/omemo/src/account_settings_entry.vala
+++ b/plugins/omemo/src/account_settings_entry.vala
@@ -15,8 +15,11 @@ public class AccountSettingsEntry : Plugins.AccountSettingsEntry {
return "OMEMO";
}}
- public override Plugins.AccountSettingsWidget get_widget() {
- return new AccountSettingWidget(plugin);
+ public override Plugins.AccountSettingsWidget? get_widget(WidgetType type) {
+ if (type == WidgetType.GTK) {
+ return new AccountSettingWidget(plugin);
+ }
+ return null;
}
}