aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/ui/conversation_selector/conversation_selector.vala9
1 files changed, 0 insertions, 9 deletions
diff --git a/main/src/ui/conversation_selector/conversation_selector.vala b/main/src/ui/conversation_selector/conversation_selector.vala
index 8a4506f3..925a462a 100644
--- a/main/src/ui/conversation_selector/conversation_selector.vala
+++ b/main/src/ui/conversation_selector/conversation_selector.vala
@@ -38,7 +38,6 @@ public class ConversationSelector : Widget {
construct {
add_css_class("sidebar");
- list_box.set_header_func(header);
list_box.set_sort_func(sort);
realize.connect(() => {
@@ -139,14 +138,6 @@ public class ConversationSelector : Widget {
}
}
- private void header(ListBoxRow row, ListBoxRow? before_row) {
- if (row.get_header() == null && before_row != null) {
- row.set_header(new Separator(Orientation.HORIZONTAL));
- } else if (row.get_header() != null && before_row == null) {
- row.set_header(null);
- }
- }
-
private int sort(ListBoxRow row1, ListBoxRow row2) {
ConversationSelectorRow cr1 = row1 as ConversationSelectorRow;
ConversationSelectorRow cr2 = row2 as ConversationSelectorRow;