summaryrefslogtreecommitdiff
path: root/new/uiinit_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'new/uiinit_unix.c')
-rw-r--r--new/uiinit_unix.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/new/uiinit_unix.c b/new/uiinit_unix.c
deleted file mode 100644
index 4d951af..0000000
--- a/new/uiinit_unix.c
+++ /dev/null
@@ -1,28 +0,0 @@
-// 6 april 2015
-#include "ui_unix.h"
-
-struct uiInitError {
- GError *err;
-};
-
-uiInitError *uiInit(uiInitOptions *o)
-{
- uiInitError *e;
-
- e = g_new0(uiInitError, 1);
- if (gtk_init_with_args(NULL, NULL, NULL, NULL, NULL, &(e->err)) == FALSE)
- return e;
- g_free(e);
- return NULL;
-}
-
-const char *uiInitErrorMessage(uiInitError *e)
-{
- return e->err->message;
-}
-
-void uiInitErrorFree(uiInitError *e)
-{
- g_error_free(e->err);
- g_free(e);
-}