yue/node-gui

webkit view implementation

milani opened this issue · 1 comments

I tried to implement webkit view but there is an error I can not handle. Here is my code:

https://gist.github.com/2211572

And here is the error:

../src/node_gui_webkit_view.cc: In static member function ‘static void clip::WebkitView::Init(v8::Handle<v8::Object>)’:
../src/node_gui_webkit_view.cc:52:5: error: no matching function for call to ‘v8::FunctionTemplate::New(<unresolved overloaded function type>, v8::Handle<v8::Value>, v8::Local<v8::Signature>&)’
../src/node_gui_webkit_view.cc:52:5: note: candidate is:
/usr/local/include/node/v8.h:2188:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>)
/usr/local/include/node/v8.h:2188:34: note:   no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘v8::InvocationCallback {aka v8::Handle<v8::Value> (*)(const v8::Arguments&)}’
../src/node_gui_webkit_view.cc: At global scope:
../src/node_gui_webkit_view.cc:20:22: warning: ‘v8::Handle<v8::Value> clip::loadUri(const v8::Arguments&)’ defined but not used [-Wunused-function]

If you help me find the problem, I can complete this widget.

Closing since this project is no longer maintained.