X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fglk.c;h=fc22682676d383f7f2aed2be6fdb435b77eeeed9;hb=49eca40060b04105343874714fa67976b9430def;hp=885f36f86fc94007926f16adaea048c7365d751d;hpb=199d247c0c2155c1c8fca97fcc6087efdd29e482;p=rodin%2Fchimara.git diff --git a/src/glk.c b/src/glk.c index 885f36f..fc22682 100644 --- a/src/glk.c +++ b/src/glk.c @@ -1,18 +1,26 @@ +#include #include #include "glk.h" +/** + * glk_exit: + * + * End the Glk program. As far as the client program is concerned, this + * function does not return. + */ void glk_exit(void) { - gtk_main(); + g_thread_exit(NULL); } +/* void glk_select(event_t *event) { gtk_main_iteration(); } - +*/