Changeset 160543 in webkit


Ignore:
Timestamp:
Dec 13, 2013 4:40:06 AM (10 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] Expose also webkit_dom_document_get_url
https://bugs.webkit.org/show_bug.cgi?id=125691

Reviewed by Martin Robinson.

For some reason we expose the URL property, so it can be accessed
with g_object_get(), but we have a special case to not provide a
public getter.

  • bindings/gobject/webkitdom.symbols: Add new symbol.
  • bindings/scripts/CodeGeneratorGObject.pm:

(GenerateFunctions): Remove the special case of URL property.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r160541 r160543  
     12013-12-13  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Expose also webkit_dom_document_get_url
     4        https://bugs.webkit.org/show_bug.cgi?id=125691
     5
     6        Reviewed by Martin Robinson.
     7
     8        For some reason we expose the URL property, so it can be accessed
     9        with g_object_get(), but we have a special case to not provide a
     10        public getter.
     11
     12        * bindings/gobject/webkitdom.symbols: Add new symbol.
     13        * bindings/scripts/CodeGeneratorGObject.pm:
     14        (GenerateFunctions): Remove the special case of URL property.
     15
    1162013-12-13  Andreas Kling  <akling@apple.com>
    217
  • trunk/Source/WebCore/bindings/gobject/webkitdom.symbols

    r160289 r160543  
    137137WebKitDOMStyleSheetList* webkit_dom_document_get_style_sheets(WebKitDOMDocument*)
    138138gchar* webkit_dom_document_get_title(WebKitDOMDocument*)
     139gchar* webkit_dom_document_get_url(WebKitDOMDocument*)
    139140void webkit_dom_document_set_title(WebKitDOMDocument*, const gchar*)
    140141gchar* webkit_dom_document_get_referrer(WebKitDOMDocument*)
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm

    r160289 r160543  
    12731273        }
    12741274
    1275         if ($attribute->signature->name eq "type"
     1275        if ($attribute->signature->name eq "type") {
    12761276            # This will conflict with the get_type() function we define to return a GType
    12771277            # according to GObject conventions.  Skip this for now.
    1278             || $attribute->signature->name eq "URL"     # TODO: handle this
    1279             ) {
    12801278            next TOP;
    12811279        }
Note: See TracChangeset for help on using the changeset viewer.