aboutsummaryrefslogtreecommitdiffstats
path: root/systray_nonwindows.go
diff options
context:
space:
mode:
Diffstat (limited to 'systray_nonwindows.go')
-rw-r--r--systray_nonwindows.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/systray_nonwindows.go b/systray_nonwindows.go
index ed060ca..cb8bf80 100644
--- a/systray_nonwindows.go
+++ b/systray_nonwindows.go
@@ -65,6 +65,11 @@ func systray_ready() {
systrayReady()
}
+//export systray_on_exit
+func systray_on_exit() {
+ systrayExit()
+}
+
//export systray_menu_item_selected
func systray_menu_item_selected(cID C.int) {
systrayMenuItemSelected(int32(cID))