Title: [142646] trunk/Source/WebCore
- Revision
- 142646
- Author
- [email protected]
- Date
- 2013-02-12 11:27:17 -0800 (Tue, 12 Feb 2013)
Log Message
[GTK][Introspection] GObject bindings for DataTransferItemList - one add() method must be removed from .idl
https://bugs.webkit.org/show_bug.cgi?id=109180
Patch by Tomas Popela <[email protected]> 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:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (142645 => 142646)
--- trunk/Source/WebCore/ChangeLog 2013-02-12 19:13:56 UTC (rev 142645)
+++ trunk/Source/WebCore/ChangeLog 2013-02-12 19:27:17 UTC (rev 142646)
@@ -1,3 +1,18 @@
+2013-02-12 Tomas Popela <[email protected]>
+
+ [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 <[email protected]>
Background size width specified in viewport percentage units not working
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm (142645 => 142646)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm 2013-02-12 19:13:56 UTC (rev 142645)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm 2013-02-12 19:27:17 UTC (rev 142646)
@@ -248,6 +248,12 @@
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;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes