Export type objects to Python
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 @@
 	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;
 	}