summaryrefslogtreecommitdiff
path: root/new/main_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-15 18:49:45 -0400
committerPietro Gagliardi <[email protected]>2015-04-15 18:49:45 -0400
commit518a5ddbf15d50a254c732a80d5907ef8878abe0 (patch)
tree48cf259f98994e4570e65c389fcd9824272884ad /new/main_unix.c
parent50ae3ca045e7f5f5744043df0a4506e2f6930bb1 (diff)
Split all OS backends into their own folders.
Diffstat (limited to 'new/main_unix.c')
-rw-r--r--new/main_unix.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/new/main_unix.c b/new/main_unix.c
deleted file mode 100644
index 10af782..0000000
--- a/new/main_unix.c
+++ /dev/null
@@ -1,23 +0,0 @@
-// 6 april 2015
-#include "uipriv_unix.h"
-
-// #qo pkg-config: gtk+-3.0
-
-void uiMain(void)
-{
- gtk_main();
-}
-
-// gtk_main_quit() may run immediately, or it may wait for other pending events; "it depends" (thanks mclasen in irc.gimp.net/#gtk+)
-// PostQuitMessage() on Windows always waits, so we must do so too
-// we'll do it by using an idle callback
-static gboolean quit(gpointer data)
-{
- gtk_main_quit();
- return FALSE;
-}
-
-void uiQuit(void)
-{
- gdk_threads_add_idle(quit, NULL);
-}