Menu::attachToWindow is available on Linux.

This commit is contained in:
Cheng Zhao 2014-02-19 13:10:09 +00:00
parent 27cd6688c1
commit 87b78a89fb

View file

@ -340,7 +340,7 @@ void Menu::Initialize(v8::Handle<v8::Object> target) {
NODE_SET_PROTOTYPE_METHOD(t, "popup", Popup); 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); NODE_SET_PROTOTYPE_METHOD(t, "attachToWindow", AttachToWindow);
#endif #endif