Menu::attachToWindow is available on Linux.
This commit is contained in:
parent
27cd6688c1
commit
87b78a89fb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue