summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeCtrl.h
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-11-25 20:25:28 (GMT)
committertreectrl <treectrl>2006-11-25 20:25:28 (GMT)
commitd87d7135a20a584da53d1065e35a5c9434639be2 (patch)
tree81166b583ba96da9ce88f2fdd9ca20d614dd6ee8 /generic/tkTreeCtrl.h
parenta2e7d157d580bb34f593b0164ac3ea4ab569e6b6 (diff)
downloadtktreectrl-d87d7135a20a584da53d1065e35a5c9434639be2.zip
tktreectrl-d87d7135a20a584da53d1065e35a5c9434639be2.tar.gz
tktreectrl-d87d7135a20a584da53d1065e35a5c9434639be2.tar.bz2
Fix potential segfaults when a display update is requested in the middle of drawing items.
Diffstat (limited to 'generic/tkTreeCtrl.h')
-rw-r--r--generic/tkTreeCtrl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkTreeCtrl.h b/generic/tkTreeCtrl.h
index 21ff1de..a021e15 100644
--- a/generic/tkTreeCtrl.h
+++ b/generic/tkTreeCtrl.h
@@ -7,7 +7,7 @@
* Copyright (c) 2002-2003 Christian Krone
* Copyright (c) 2003 ActiveState Corporation
*
- * RCS: @(#) $Id: tkTreeCtrl.h,v 1.74 2006/11/21 01:55:13 treectrl Exp $
+ * RCS: @(#) $Id: tkTreeCtrl.h,v 1.75 2006/11/25 20:25:28 treectrl Exp $
*/
#include "tkPort.h"
@@ -764,6 +764,8 @@ extern void Tree_FreeItemDInfo(TreeCtrl *tree, TreeItem item1, TreeItem item2);
extern void Tree_InvalidateItemDInfo(TreeCtrl *tree, TreeColumn column, TreeItem item1, TreeItem item2);
extern void TreeDisplay_ItemDeleted(TreeCtrl *tree, TreeItem item);
extern void TreeDisplay_ColumnDeleted(TreeCtrl *tree, TreeColumn column);
+extern void TreeDisplay_GetReadyForTrouble(TreeCtrl *tree, int *requestsPtr);
+extern int TreeDisplay_WasThereTrouble(TreeCtrl *tree, int requests);
extern void Tree_InvalidateArea(TreeCtrl *tree, int x1, int y1, int x2, int y2);
extern void Tree_InvalidateItemArea(TreeCtrl *tree, int x1, int y1, int x2, int y2);
extern void Tree_InvalidateRegion(TreeCtrl *tree, TkRegion region);