https://bugs.webkit.org/show_bug.cgi?id=109180
Patch by Tomas Popela <tpopela@redhat.com> on 2013-02-12
Reviewed by Xan Lopez.
When compiling WebKit with --enable-introspection and generating GObject bindings
for DataTransferItemList we must disable one add() method, because GObject is
based on C and C does not allow two functions with the same name.
No tests needed.
* bindings/scripts/CodeGeneratorGObject.pm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142646
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-02-12 Tomas Popela <tpopela@redhat.com>
+
+ [GTK][Introspection] GObject bindings for DataTransferItemList - one add() method must be removed from .idl
+ https://bugs.webkit.org/show_bug.cgi?id=109180
+
+ Reviewed by Xan Lopez.
+
+ When compiling WebKit with --enable-introspection and generating GObject bindings
+ for DataTransferItemList we must disable one add() method, because GObject is
+ based on C and C does not allow two functions with the same name.
+
+ No tests needed.
+
+ * bindings/scripts/CodeGeneratorGObject.pm:
+
2013-02-12 Uday Kiran <udaykiran@motorola.com>
Background size width specified in viewport percentage units not working
return 1;
}
+ # This is for DataTransferItemList.idl add(File) method
+ if ($functionName eq "webkit_dom_data_transfer_item_list_add" &&
+ @{$function->parameters} == 1) {
+ return 1;
+ }
+
if ($function->signature->name eq "timeEnd") {
return 1;
}