summaryrefslogtreecommitdiff
path: root/git-gui/lib/search.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'git-gui/lib/search.tcl')
-rw-r--r--git-gui/lib/search.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui/lib/search.tcl b/git-gui/lib/search.tcl
index 32c8656fc9..b371e9a30a 100644
--- a/git-gui/lib/search.tcl
+++ b/git-gui/lib/search.tcl
@@ -35,7 +35,7 @@ constructor new {i_w i_text args} {
trace add variable searchstring write [cb _incrsearch_cb]
- bind $w <Destroy> [cb delete_this]
+ bind $w <Destroy> [list delete_this $this]
return $this
}