This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[patch] Fix missing remove_hook
- To: insight at sources dot redhat dot com
- Subject: [patch] Fix missing remove_hook
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 29 Mar 2001 17:33:02 -0500
- Organization: Red Hat , Inc. - Toronto
Oops! I forgot to remove the hook that I added. I have fixed it now.
2001-03-29 Fernando Nasser <fnasser@redhat.com>
* library/variable.tcl (destructor): Remove file_changed_hook hook.
Index: library/variables.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/variables.tcl,v
retrieving revision 1.5
diff -c -p -r1.5 variables.tcl
*** variables.tcl 2001/02/08 19:26:31 1.5
--- variables.tcl 2001/03/29 22:29:04
*************** class VariableWin {
*** 170,175 ****
--- 170,176 ----
remove_hook gdb_no_inferior_hook "$this no_inferior"
remove_hook gdb_idle_hook [list $this idle]
remove_hook gdb_clear_file_hook [code $this clear_file]
+ remove_hook file_changed_hook [code $this clear_file]
}
# ------------------------------------------------------------------
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9