From 50a227058a8d72f1fb885458b882cedb0e0d7f79 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 9 Apr 2015 22:38:11 -0400 Subject: Changed the allocation logging from a compile-time setting to the first initialization option. --- new/init_unix.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'new/init_unix.c') diff --git a/new/init_unix.c b/new/init_unix.c index 67954c0..60abc91 100644 --- a/new/init_unix.c +++ b/new/init_unix.c @@ -5,10 +5,13 @@ struct uiInitError { GError *err; }; +uiInitOptions options; + uiInitError *uiInit(uiInitOptions *o) { uiInitError *err; + options = *o; err = uiNew(uiInitError); if (gtk_init_with_args(NULL, NULL, NULL, NULL, NULL, &(err->err)) == FALSE) return err; -- cgit v1.2.3