mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-20 15:55:47 +08:00
Menu::attachToWindow is available on Linux.
This commit is contained in:
@@ -340,7 +340,7 @@ void Menu::Initialize(v8::Handle<v8::Object> target) {
|
||||
|
||||
NODE_SET_PROTOTYPE_METHOD(t, "popup", Popup);
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#if defined(OS_WIN) || defined(TOOLKIT_GTK)
|
||||
NODE_SET_PROTOTYPE_METHOD(t, "attachToWindow", AttachToWindow);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user