summaryrefslogtreecommitdiff
path: root/new/main_unix.c
blob: aae049bcbeeed18a04c8e3e18b1b15a6ea9f8a24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 6 april 2015
#include "uipriv_unix.h"

// #qo pkg-config: gtk+-3.0

void uiMain(void)
{
	gtk_main();
}

void uiQuit(void)
{
	gtk_main_quit();
}

// TODO move somewhere else
uintptr_t uiControlHandle(uiControl *c)
{
	return (*(c->handle))(c);
}