summaryrefslogtreecommitdiff
path: root/new/init_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 22:38:11 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 22:38:11 -0400
commit50a227058a8d72f1fb885458b882cedb0e0d7f79 (patch)
treec68e86810a6036645278b707430532d9f767c7cc /new/init_unix.c
parentd9315e6d8f528840dd396fbbeb96cb22c8a5df98 (diff)
Changed the allocation logging from a compile-time setting to the first initialization option.
Diffstat (limited to 'new/init_unix.c')
-rw-r--r--new/init_unix.c3
1 files changed, 3 insertions, 0 deletions
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;