From 3a130b756a74c24ea34a1d25a86c96c72da2d80f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 4 Apr 2014 17:50:27 -0400 Subject: Removed objc_new(). The idea is to remove all the objc_* functions that aren't prefixed with C. (except objc_getClass()). --- listbox_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'listbox_darwin.go') diff --git a/listbox_darwin.go b/listbox_darwin.go index acb68df..19e8523 100644 --- a/listbox_darwin.go +++ b/listbox_darwin.go @@ -85,7 +85,7 @@ var ( ) func newListboxArray() C.id { - array := objc_new(_NSArrayController) + array := C.objc_msgSend_noargs(_NSArrayController, _new) C.objc_msgSend_bool(array, _setAutomaticallyRearrangesObjects, C.BOOL(C.NO)) return array } -- cgit v1.2.3