[Webkit-unassigned] [Bug 109180] [GTK][Introspection] GObject bindings for DataTransferItemList - one add() method must be removed from .idl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 7 07:50:27 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=109180





--- Comment #2 from Zan Dobersek <zandobersek at gmail.com>  2013-02-07 07:52:35 PST ---
(From update of attachment 187077)
Rather than changing the IDL file you should skip the function in the CodeGeneratorGObject.pm module, in the SkipFunction method.

Given the name of the function you're trying to avoid is quite generic, I'd recommend expanding the SkipFunction method to also accept the name of the interface the function belongs to. It's pretty straightforward from there on, returning 1 from that method (and thus skipping the function) if the function from the 'DataTransferItemList' interface has the name 'add' and the number of parameters equals 1.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list