summaryrefslogtreecommitdiff
path: root/src/app.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.vala')
-rw-r--r--src/app.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.vala b/src/app.vala
index 25279609..e6ee9342 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -46,8 +46,10 @@ class SearchPopover : Gtk.Popover
close_button.clicked.connect(() => { hide(); });
reveal_button.bind_property("active", revealer, "reveal-child");
+#if GTK_3_16
search_entry.next_match.connect(() => { search(false); });
search_entry.previous_match.connect(() => { search(true); });
+#endif
search_entry.search_changed.connect(() => { update_regex(); });
search_next_button.clicked.connect(() => { search(false); });