Title: [167804] trunk/Source/WebCore
Revision
167804
Author
[email protected]
Date
2014-04-25 07:17:54 -0700 (Fri, 25 Apr 2014)

Log Message

[GTK] File webkitRelativePath attribute was removed in r163483
https://bugs.webkit.org/show_bug.cgi?id=132193

Patch by Philippe Normand <[email protected]> on 2014-04-25
Reviewed by Carlos Garcia Campos.

Add the removed getter as deprecated API to keep backwards compatibility.

* bindings/gobject/WebKitDOMDeprecated.cpp:
(webkit_dom_file_get_webkit_relative_path):
* bindings/gobject/WebKitDOMDeprecated.h:
* bindings/gobject/WebKitDOMDeprecated.symbols:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (167803 => 167804)


--- trunk/Source/WebCore/ChangeLog	2014-04-25 13:56:12 UTC (rev 167803)
+++ trunk/Source/WebCore/ChangeLog	2014-04-25 14:17:54 UTC (rev 167804)
@@ -1,3 +1,17 @@
+2014-04-25  Philippe Normand  <[email protected]>
+
+        [GTK] File webkitRelativePath attribute was removed in r163483
+        https://bugs.webkit.org/show_bug.cgi?id=132193
+
+        Reviewed by Carlos Garcia Campos.
+
+        Add the removed getter as deprecated API to keep backwards compatibility.
+
+        * bindings/gobject/WebKitDOMDeprecated.cpp:
+        (webkit_dom_file_get_webkit_relative_path):
+        * bindings/gobject/WebKitDOMDeprecated.h:
+        * bindings/gobject/WebKitDOMDeprecated.symbols:
+
 2014-04-25  Radu Stavila  <[email protected]>
 
         [CSS Regions] Overflow selection doesn't work properly

Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp (167803 => 167804)


--- trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp	2014-04-25 13:56:12 UTC (rev 167803)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp	2014-04-25 14:17:54 UTC (rev 167804)
@@ -574,6 +574,14 @@
     g_warning("%s: this functionality has been removed from WebKit, this function does nothing.", __func__);
 }
 
+// WebKitDOMFile
+
+gchar* webkit_dom_file_get_webkit_relative_path(WebKitDOMFile*)
+{
+    g_warning("%s: this functionality has been removed from WebKit, this function does nothing.", __func__);
+    return g_strdup("");
+}
+
 // WebKitDOMHTMLIFrameElement
 
 gboolean webkit_dom_html_iframe_element_get_seamless(WebKitDOMHTMLIFrameElement*)

Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h (167803 => 167804)


--- trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h	2014-04-25 13:56:12 UTC (rev 167803)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h	2014-04-25 14:17:54 UTC (rev 167804)
@@ -613,6 +613,19 @@
 webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction* self, const gchar* value, GError** error);
 
 /**
+ * webkit_dom_file_get_webkit_relative_path:
+ * @self: A #WebKitDOMFile
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: a #gchar
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED gchar*
+webkit_dom_file_get_webkit_relative_path(WebKitDOMFile* self);
+
+/**
  * webkit_dom_html_iframe_element_get_seamless:
  * @self: A #WebKitDOMHTMLIFrameElement
  *

Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols (167803 => 167804)


--- trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols	2014-04-25 13:56:12 UTC (rev 167803)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols	2014-04-25 14:17:54 UTC (rev 167804)
@@ -47,6 +47,7 @@
 gdouble webkit_dom_html_media_element_get_initial_time(WebKitDOMHTMLMediaElement*)
 gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction*)
 void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction*, const gchar*, GError**)
+gchar* webkit_dom_file_get_webkit_relative_path(WebKitDOMFile*)
 WebKitDOMElement* webkit_dom_html_document_get_active_element(WebKitDOMHTMLDocument*)
 gboolean webkit_dom_html_document_has_focus(WebKitDOMHTMLDocument*)
 void webkit_dom_html_iframe_element_set_seamless(WebKitDOMHTMLIFrameElement*, gboolean)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to