summaryrefslogtreecommitdiff
path: root/src/terminal-window.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-27 14:42:52 +0300
committermonsta <[email protected]>2018-01-27 14:43:16 +0300
commit2b454bbabcb0dd7c37fe2856c1020ba18e38e038 (patch)
tree297f68a460b32ced99a7dcc201acb5a2ecc005f7 /src/terminal-window.c
parent8e3de226d0c59060bd06aa0010fdc6ef1e37e0ca (diff)
downloadmate-terminal-2b454bbabcb0dd7c37fe2856c1020ba18e38e038.tar.bz2
mate-terminal-2b454bbabcb0dd7c37fe2856c1020ba18e38e038.tar.xz
require VTE 0.46
Diffstat (limited to 'src/terminal-window.c')
-rw-r--r--src/terminal-window.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 0a3d983..734fab3 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1215,11 +1215,7 @@ terminal_window_update_search_sensitivity (TerminalScreen *screen,
if (screen != priv->active_screen)
return;
-#if VTE_CHECK_VERSION (0, 46, 0)
can_search = vte_terminal_search_get_regex (VTE_TERMINAL (screen)) != NULL;
-#else
- can_search = vte_terminal_search_get_gregex (VTE_TERMINAL (screen)) != NULL;
-#endif
action = gtk_action_group_get_action (priv->action_group, "SearchFindNext");
gtk_action_set_sensitive (action, can_search);