summaryrefslogtreecommitdiff
path: root/gtkcalls_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'gtkcalls_unix.go')
-rw-r--r--gtkcalls_unix.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtkcalls_unix.go b/gtkcalls_unix.go
index 989c80d..5dd6f25 100644
--- a/gtkcalls_unix.go
+++ b/gtkcalls_unix.go
@@ -32,6 +32,10 @@ func gtk_main() {
C.gtk_main()
}
+func gtk_main_quit() {
+ C.gtk_main_quit()
+}
+
func gtk_window_new() *gtkWidget {
// 0 == GTK_WINDOW_TOPLEVEL (the only other type, _POPUP, should not be used)
return fromgtkwidget(C.gtk_window_new(0))