Commit 8ffd3535 authored by kov@webkit.org's avatar kov@webkit.org

[GTK] HTMLElement lost setID and getID - need to add compatibility symbols

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

Reviewed by Martin Robinson.

No tests, just adding compatibility symbols.

setID and getID were removed, and the parent class (Element) ones should be used instead.
We need to keep our ABI compatible, though, so add compatibility symbols.

* bindings/gobject/WebKitDOMCustom.cpp:
(webkit_dom_html_element_get_id):
(webkit_dom_html_element_set_id):
* bindings/gobject/WebKitDOMCustom.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 560a8a50
2013-08-28 Gustavo Noronha Silva <gns@gnome.org>
[GTK] HTMLElement lost setID and getID - need to add compatibility symbols
https://bugs.webkit.org/show_bug.cgi?id=120440
Reviewed by Martin Robinson.
No tests, just adding compatibility symbols.
setID and getID were removed, and the parent class (Element) ones should be used instead.
We need to keep our ABI compatible, though, so add compatibility symbols.
* bindings/gobject/WebKitDOMCustom.cpp:
(webkit_dom_html_element_get_id):
(webkit_dom_html_element_set_id):
* bindings/gobject/WebKitDOMCustom.h:
2013-08-28 Simon Fraser <simon.fraser@apple.com>
Fix compositing layers in columns
......@@ -64,6 +64,18 @@ void webkit_dom_html_element_set_class_name(WebKitDOMHTMLElement* element, const
webkit_dom_element_set_class_name(WEBKIT_DOM_ELEMENT(element), value);
}
gchar* webkit_dom_html_element_get_id(WebKitDOMHTMLElement* element)
{
g_warning("The get_id method on WebKitDOMHTMLElement is deprecated. Use the one in WebKitDOMElement instead.");
return webkit_dom_element_get_id(WEBKIT_DOM_ELEMENT(element));
}
void webkit_dom_html_element_set_id(WebKitDOMHTMLElement* element, const gchar* value)
{
g_warning("The set_id method on WebKitDOMHTMLElement is deprecated. Use the one in WebKitDOMElement instead.");
webkit_dom_element_set_id(WEBKIT_DOM_ELEMENT(element), value);
}
gboolean webkit_dom_webkit_named_flow_get_overflow(WebKitDOMWebKitNamedFlow* flow)
{
g_warning("The WebKitDOMWebKitNamedFlow::overflow property has been renamed to WebKitDOMWebKitNamedFlow::overset. Please update your code to use the new name.");
......
......@@ -90,6 +90,38 @@ WEBKIT_API void webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLF
*/
WEBKIT_API void webkit_dom_html_form_element_dispatch_form_input(WebKitDOMHTMLFormElement* self);
/**
* webkit_dom_html_element_get_id:
* @self: A #WebKitDOMHTMLElement
*
* This method is deprecated. Use webkit_dom_element_set_id() instead.
*
* Returns:
*
**/
WEBKIT_API gchar* webkit_dom_html_element_get_id(WebKitDOMHTMLElement* self);
/**
* webkit_dom_html_element_set_id:
* @self: A #WebKitDOMHTMLElement
* @value: A #gchar
*
* This method is deprecated. Use webkit_dom_element_set_id() instead.
*
* Returns:
*
**/
WEBKIT_API void webkit_dom_html_element_set_id(WebKitDOMHTMLElement* self, const gchar* value);
/**
* webkit_dom_html_element_get_title:
* @self: A #WebKitDOMHTMLElement
*
* Returns:
*
**/
WEBKIT_API gchar* webkit_dom_html_element_get_title(WebKitDOMHTMLElement* self);
/**
* webkit_dom_webkit_named_flow_get_overflow:
* @flow: A #WebKitDOMWebKitNamedFlow
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment