summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-17 07:21:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-17 07:21:59 (GMT)
commit19351002aaa78f907ef8b1fabb4814b74aaca32c (patch)
tree842b4a7e3459bfcf099a6cdddee7bdda2220305b /macosx/tkMacOSXDialog.c
parent423e8c0ec8c6d081b376adcc7cd1040ef6105dfd (diff)
downloadtk-19351002aaa78f907ef8b1fabb4814b74aaca32c.zip
tk-19351002aaa78f907ef8b1fabb4814b74aaca32c.tar.gz
tk-19351002aaa78f907ef8b1fabb4814b74aaca32c.tar.bz2
Add missing INT2PTR (doesn't cause warning with Tcl8.x, but does with Tcl 9.0). One None -> NULL change which was still missing. Backported from trunk.
Diffstat (limited to 'macosx/tkMacOSXDialog.c')
-rw-r--r--macosx/tkMacOSXDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index 90d0dc7..322519a 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -2080,7 +2080,7 @@ FontchooserParentEventHandler(
if (eventPtr->type == DestroyNotify) {
Tk_DeleteEventHandler(fcdPtr->parent, StructureNotifyMask,
FontchooserParentEventHandler, fcdPtr);
- fcdPtr->parent = None;
+ fcdPtr->parent = NULL;
FontchooserHideCmd(NULL, NULL, 0, NULL);
}
}