diff options
author | jenglish <jenglish@flightlab.com> | 2009-01-11 08:40:19 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2009-01-11 08:40:19 (GMT) |
commit | 847e8e877858c89627b0e81bffdbcdef79c210c3 (patch) | |
tree | 741d79488c058b0aa31df9558a73fde798004252 | |
parent | 00947f1c23c6a123731cb947d6fd377aa168ce37 (diff) | |
download | tk-847e8e877858c89627b0e81bffdbcdef79c210c3.zip tk-847e8e877858c89627b0e81bffdbcdef79c210c3.tar.gz tk-847e8e877858c89627b0e81bffdbcdef79c210c3.tar.bz2 |
ttkNotebook.c(NotebookCleanup): Don't call Tk_DeleteOptionTable(),
it's unnecessary and quite possibly harmful [Bug 2496162].
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | generic/ttk/ttkNotebook.c | 5 |
2 files changed, 7 insertions, 4 deletions
@@ -1,3 +1,9 @@ +2009-01-11 Joe English <jenglish@users.sourceforge.net> + + * generic/ttk/ttkNotebook.c(NotebookCleanup): + Don't call Tk_DeleteOptionTable(), it's unnecessary + and quite possibly harmful [Bug 2496162]. + 2009-01-08 Jan Nijtmans <nijtmans@users.sf.net> * generic/tk3d.c: CONSTify TkDebugBorder diff --git a/generic/ttk/ttkNotebook.c b/generic/ttk/ttkNotebook.c index fe66308..08fd236 100644 --- a/generic/ttk/ttkNotebook.c +++ b/generic/ttk/ttkNotebook.c @@ -1,4 +1,4 @@ -/* $Id: ttkNotebook.c,v 1.16 2008/11/09 23:53:09 jenglish Exp $ +/* $Id: ttkNotebook.c,v 1.17 2009/01/11 08:40:19 jenglish Exp $ * Copyright (c) 2004, Joe English */ @@ -1239,9 +1239,6 @@ static void NotebookCleanup(void *recordPtr) Notebook *nb = recordPtr; Ttk_DeleteManager(nb->notebook.mgr); - Tk_DeleteOptionTable(nb->notebook.tabOptionTable); - Tk_DeleteOptionTable(nb->notebook.paneOptionTable); - if (nb->notebook.tabLayout) Ttk_FreeLayout(nb->notebook.tabLayout); } |