From 7b1dfbf1d6de954efdb5d9d9d4df61a98935ddd4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 7 Apr 2015 19:04:09 -0400 Subject: Unified the allocators across all platforms so that everyone uses uiAlloc() and friends. --- new/newcontrol_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new/newcontrol_unix.c') diff --git a/new/newcontrol_unix.c b/new/newcontrol_unix.c index 0523bd3..3123685 100644 --- a/new/newcontrol_unix.c +++ b/new/newcontrol_unix.c @@ -64,7 +64,7 @@ uiControl *uiUnixNewControl(GType type, guint nConstructParams, GParameter *cons { uiSingleWidgetControl *c; - c = g_new0(uiSingleWidgetControl, 1); + c = uiNew(uiSingleWidgetControl); c->widget = GTK_WIDGET(g_object_newv(type, nConstructParams, constructParams)); c->immediate = c->widget; -- cgit v1.2.3