This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] Fix missing remove_hook


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]