summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd45bd9)
raw | patch | inline | side by side (parent: bd45bd9)
author | Alexander Gavrilov <angavrilov@gmail.com> | |
Thu, 13 Nov 2008 18:52:52 +0000 (21:52 +0300) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 16 Nov 2008 22:02:13 +0000 (14:02 -0800) |
Since delete_this is an ordinary function, it
should not be passed to cb; otherwise it produces
errors when blame windows are closed. Unfortunately,
it is not noticeable when blame is shown in the
master window, so I missed this bug.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
should not be passed to cb; otherwise it produces
errors when blame windows are closed. Unfortunately,
it is not noticeable when blame is shown in the
master window, so I missed this bug.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/search.tcl | patch | blob | history |
diff --git a/lib/search.tcl b/lib/search.tcl
index 32c8656fc9b15498073a09e516777f71827dc3b1..b371e9a30a00fda0ced979c03a1a5d7856654baa 100644 (file)
--- a/lib/search.tcl
+++ b/lib/search.tcl
trace add variable searchstring write [cb _incrsearch_cb]
- bind $w <Destroy> [cb delete_this]
+ bind $w <Destroy> [list delete_this $this]
return $this
}