diff options
author | fiaxh <git@lightrise.org> | 2021-10-11 23:08:50 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-10-12 17:58:18 +0200 |
commit | 8d8dcf5af67ad89c328e67dc2c3469ef90283d9a (patch) | |
tree | bb4f055a17e5ef0d1f896b3eeb7522c639fc58fd /main/src/ui/global_search.vala | |
parent | c85945ae26cab7eb65c67dbe49ebbf668a028b1c (diff) | |
download | dino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.tar.gz dino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.zip |
Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'')
Diffstat (limited to 'main/src/ui/global_search.vala')
-rw-r--r-- | main/src/ui/global_search.vala | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/main/src/ui/global_search.vala b/main/src/ui/global_search.vala index 0d6341cc..f765d4d9 100644 --- a/main/src/ui/global_search.vala +++ b/main/src/ui/global_search.vala @@ -14,13 +14,13 @@ public class GlobalSearch : Overlay { private int loaded_results = -1; private Mutex reloading_mutex = Mutex(); - [GtkChild] public SearchEntry search_entry; - [GtkChild] public Label entry_number_label; - [GtkChild] public ScrolledWindow results_scrolled; - [GtkChild] public Box results_box; - [GtkChild] public Stack results_empty_stack; - [GtkChild] public Frame auto_complete_overlay; - [GtkChild] public ListBox auto_complete_list; + [GtkChild] public unowned SearchEntry search_entry; + [GtkChild] public unowned Label entry_number_label; + [GtkChild] public unowned ScrolledWindow results_scrolled; + [GtkChild] public unowned Box results_box; + [GtkChild] public unowned Stack results_empty_stack; + [GtkChild] public unowned Frame auto_complete_overlay; + [GtkChild] public unowned ListBox auto_complete_list; public GlobalSearch init(StreamInteractor stream_interactor) { this.stream_interactor = stream_interactor; |