aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/occupant_menu
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-01-21 21:53:43 +0100
committerMarvin W <git@larma.de>2020-01-21 21:55:08 +0100
commit4a9c05ea372e8f1279644ad6dc519ca407aec88a (patch)
treee76c9dfa5a716831a9f3496353d304c15fce84a0 /main/src/ui/occupant_menu
parent55b148a0f78c1abef57c21b2a84d97cad32b2290 (diff)
downloaddino-4a9c05ea372e8f1279644ad6dc519ca407aec88a.tar.gz
dino-4a9c05ea372e8f1279644ad6dc519ca407aec88a.zip
Enabling display of more compiler warnings and fix some of them
Most of these are caused by various issues is the Vala compiler, but it doesn't hurt to display them and report them upstream.
Diffstat (limited to 'main/src/ui/occupant_menu')
-rw-r--r--main/src/ui/occupant_menu/list.vala6
1 files changed, 1 insertions, 5 deletions
diff --git a/main/src/ui/occupant_menu/list.vala b/main/src/ui/occupant_menu/list.vala
index c422a899..ffa98f31 100644
--- a/main/src/ui/occupant_menu/list.vala
+++ b/main/src/ui/occupant_menu/list.vala
@@ -24,7 +24,7 @@ public class List : Box {
list_box.set_header_func(header);
list_box.set_sort_func(sort);
list_box.set_filter_func(filter);
- search_entry.search_changed.connect(search_changed);
+ search_entry.search_changed.connect(refilter);
stream_interactor.get_module(PresenceManager.IDENTITY).show_received.connect(on_show_received);
stream_interactor.get_module(RosterManager.IDENTITY).updated_roster_item.connect(on_updated_roster_item);
@@ -52,10 +52,6 @@ public class List : Box {
list_box.invalidate_filter();
}
- private void search_changed(Editable editable) {
- refilter();
- }
-
public void add_occupant(Jid jid) {
rows[jid] = new ListRow(stream_interactor, conversation, jid);
list_box.add(rows[jid]);