tray icon menu may be #f
This commit is contained in:
@@ -892,8 +892,10 @@
|
||||
(if (wv-menu-empty? menu)
|
||||
#f
|
||||
(wv-menu->json menu))
|
||||
(error "rkt-webview-tray-set-menu! must be called with a wv-menu")
|
||||
))
|
||||
(if (eq? menu #f)
|
||||
#f
|
||||
(error "rkt-webview-tray-set-menu! must be called with a wv-menu or #f")
|
||||
)))
|
||||
)
|
||||
(rkt_webview_tray_set_menu (rkt-wv-win tray) json)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user