summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl/ctledit.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/ctl/ctledit.py')
-rw-r--r--Mac/Modules/ctl/ctledit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/ctl/ctledit.py b/Mac/Modules/ctl/ctledit.py
index 9240851..a23eef8 100644
--- a/Mac/Modules/ctl/ctledit.py
+++ b/Mac/Modules/ctl/ctledit.py
@@ -11,7 +11,7 @@ DisposeControl_body = """
if (!PyArg_ParseTuple(_args, ""))
return NULL;
if ( _self->ob_itself ) {
- SetCRefCon(_self->ob_itself, (long)0); /* Make it forget about us */
+ SetControlReference(_self->ob_itself, (long)0); /* Make it forget about us */
DisposeControl(_self->ob_itself);
_self->ob_itself = NULL;
}