creationix / node-gir

Node bindings to libgirepository
http://live.gnome.org/GObjectIntrospection
MIT License
231 stars 58 forks source link

Failed to convert argument 2 "3" to GI Type tag "interface" #37

Open kapouer opened 11 years ago

kapouer commented 11 years ago

I understand it is a missing type in node-gir.

This comes up when doing webView.get_main_frame().print_full(printOp, gtk.PrintOperationAction.export); or the webkitgtk C equivalent : webkit_web_frame_print_full(mywebframe, myPrintOperation, GTK_PRINT_OPERATION_ACTION_EXPORT)

kapouer commented 11 years ago

Commit https://github.com/kapouer/node-gir/commit/5979977016531a825185415b0a21989481d3a7d1 fixes that precise case. This is a bit of a hack, though.

piotras commented 11 years ago

@kapouer Can you add corresponding test case also ?