diff options
author | jenglish <jenglish@flightlab.com> | 2009-12-16 20:40:28 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2009-12-16 20:40:28 (GMT) |
commit | f489e232780d73b08560d2e28bfb4c0ddea0b4e6 (patch) | |
tree | 4a276be1056387676bda6ea4b06a6e597311e62e | |
parent | bbaf51c9b840baff04f83fc2c0d86d553deda5bf (diff) | |
download | tk-f489e232780d73b08560d2e28bfb4c0ddea0b4e6.zip tk-f489e232780d73b08560d2e28bfb4c0ddea0b4e6.tar.gz tk-f489e232780d73b08560d2e28bfb4c0ddea0b4e6.tar.bz2 |
generic/ttk/ttkNotebook.c: Don't call Tk_DeleteOptionTable()
[Bug 2915709], backport fix for [Bug 2496162].
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/ttk/ttkNotebook.c | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,3 +1,7 @@ +2009-12-16 Joe English <jenglish@users.sourceforge.net> + + * generic/ttk/ttkNotebook.c: Don't call Tk_DeleteOptionTable() + [Bug 2915709], backport fix for [Bug 2496162]. 2009-12-14 Kevin B. Kenny <kennykb@acm.org> diff --git a/generic/ttk/ttkNotebook.c b/generic/ttk/ttkNotebook.c index 68fd665..8bcee74 100644 --- a/generic/ttk/ttkNotebook.c +++ b/generic/ttk/ttkNotebook.c @@ -1,4 +1,4 @@ -/* $Id: ttkNotebook.c,v 1.13 2008/01/28 00:36:08 jenglish Exp $ +/* $Id: ttkNotebook.c,v 1.13.2.1 2009/12/16 20:40:29 jenglish Exp $ * Copyright (c) 2004, Joe English */ @@ -1241,9 +1241,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); } |