aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_view.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-11-26 22:26:25 +0100
committerfiaxh <git@lightrise.org>2022-12-30 21:34:40 +0100
commit4d7809bb12199a598b531ca3ca019a4bb5a867f7 (patch)
tree1ac50603a78dd5c78bf2fcd7c99a2c3f242c0005 /main/src/ui/conversation_view.vala
parent799d09a4c98d1a00790f261600d3f4d813140954 (diff)
downloaddino-4d7809bb12199a598b531ca3ca019a4bb5a867f7.tar.gz
dino-4d7809bb12199a598b531ca3ca019a4bb5a867f7.zip
Fix compiler warnings
Diffstat (limited to 'main/src/ui/conversation_view.vala')
-rw-r--r--main/src/ui/conversation_view.vala18
1 files changed, 0 insertions, 18 deletions
diff --git a/main/src/ui/conversation_view.vala b/main/src/ui/conversation_view.vala
index 7c93c4ff..128b3bd8 100644
--- a/main/src/ui/conversation_view.vala
+++ b/main/src/ui/conversation_view.vala
@@ -28,9 +28,6 @@ public class ConversationView : Widget {
// conversation_scrolled.set_child(list_view);
// list_view.set_factory(get_item_factory());
-// conversation_scrolled.vadjustment.notify["upper"].connect_after(on_upper_notify);
-// conversation_scrolled.vadjustment.notify["value"].connect(on_value_notify);
-
}
public void add_overlay_dialog(Widget widget) {
@@ -54,21 +51,6 @@ public class ConversationView : Widget {
white_revealer.visible = false;
}
}
-
- private void on_upper_notify() {
- print("on_upper_notify\n");
- if (at_current_content) {
- print("on_upper_notify2\n");
- // scroll down
-// conversation_scrolled.vadjustment.value = conversation_scrolled.vadjustment.upper - conversation_scrolled.vadjustment.page_size;
-// conversation_scrolled.scroll_child(ScrollType.END, false);
- }
- }
-
- private void on_value_notify() {
- print("on_value_notify\n");
-// at_current_content = false;
- }
}
}