X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fglk.c;h=fc22682676d383f7f2aed2be6fdb435b77eeeed9;hb=1d98f490554273292d4ce29e4ea42e843c2f0c20;hp=885f36f86fc94007926f16adaea048c7365d751d;hpb=65fae93f40acb49a7d18202bbf7fdac05cb12a19;p=projects%2Fchimara%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(); } - +*/