Implemented Stop() on GTK+.

This commit is contained in:
Pietro Gagliardi 2014-07-13 20:31:08 -04:00
parent acc604a820
commit 0eded3f774
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ func uimsgloop() {
C.gtk_main()
}
func uistop() {
C.gtk_main_quit()
}
func issue(req *Request) {
C.gdk_threads_add_idle(C.GSourceFunc(C.doissue), C.gpointer(unsafe.Pointer(req)))
}