Changeset 142646 in webkit


Ignore:
Timestamp:
Feb 12, 2013 11:27:17 AM (11 years ago)
Author:
commit-queue@webkit.org
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 <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:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r142645 r142646  
     12013-02-12  Tomas Popela  <tpopela@redhat.com>
     2
     3        [GTK][Introspection] GObject bindings for DataTransferItemList - one add() method must be removed from .idl
     4        https://bugs.webkit.org/show_bug.cgi?id=109180
     5
     6        Reviewed by Xan Lopez.
     7
     8        When compiling WebKit with --enable-introspection and generating GObject bindings
     9        for DataTransferItemList we must disable one add() method, because GObject is
     10        based on C and C does not allow two functions with the same name.
     11
     12        No tests needed.
     13
     14        * bindings/scripts/CodeGeneratorGObject.pm:
     15
    1162013-02-12  Uday Kiran  <udaykiran@motorola.com>
    217
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm

    r141551 r142646  
    246246
    247247    if ($function->signature->name eq "setRangeText" && @{$function->parameters} == 1) {
     248        return 1;
     249    }
     250
     251    # This is for DataTransferItemList.idl add(File) method
     252    if ($functionName eq "webkit_dom_data_transfer_item_list_add" &&
     253        @{$function->parameters} == 1) {
    248254        return 1;
    249255    }
Note: See TracChangeset for help on using the changeset viewer.