aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/settings_dialog.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-10-11 23:08:50 +0200
committerfiaxh <git@lightrise.org>2021-10-12 17:58:18 +0200
commit8d8dcf5af67ad89c328e67dc2c3469ef90283d9a (patch)
treebb4f055a17e5ef0d1f896b3eeb7522c639fc58fd /main/src/ui/settings_dialog.vala
parentc85945ae26cab7eb65c67dbe49ebbf668a028b1c (diff)
downloaddino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.tar.gz
dino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.zip
Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'')
Diffstat (limited to 'main/src/ui/settings_dialog.vala')
-rw-r--r--main/src/ui/settings_dialog.vala10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/ui/settings_dialog.vala b/main/src/ui/settings_dialog.vala
index a24b9c22..e994e00c 100644
--- a/main/src/ui/settings_dialog.vala
+++ b/main/src/ui/settings_dialog.vala
@@ -5,11 +5,11 @@ namespace Dino.Ui {
[GtkTemplate (ui = "/im/dino/Dino/settings_dialog.ui")]
class SettingsDialog : Dialog {
- [GtkChild] private CheckButton typing_checkbutton;
- [GtkChild] private CheckButton marker_checkbutton;
- [GtkChild] private CheckButton notification_checkbutton;
- [GtkChild] private CheckButton emoji_checkbutton;
- [GtkChild] private CheckButton check_spelling_checkbutton;
+ [GtkChild] private unowned CheckButton typing_checkbutton;
+ [GtkChild] private unowned CheckButton marker_checkbutton;
+ [GtkChild] private unowned CheckButton notification_checkbutton;
+ [GtkChild] private unowned CheckButton emoji_checkbutton;
+ [GtkChild] private unowned CheckButton check_spelling_checkbutton;
Dino.Entities.Settings settings = Dino.Application.get_default().settings;