Title: [161064] trunk/Source/WebKit2
- Revision
- 161064
- Author
- [email protected]
- Date
- 2013-12-25 01:56:23 -0800 (Wed, 25 Dec 2013)
Log Message
[GTK] Fix warnings when generating WebExtensions gobject-instrospection files
https://bugs.webkit.org/show_bug.cgi?id=126225
Reviewed by Philippe Normand.
Add transfer annotation to webkit_web_page_get_dom_document() and
document webkit_web_page_get_main_frame().
* WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (161063 => 161064)
--- trunk/Source/WebKit2/ChangeLog 2013-12-25 09:53:04 UTC (rev 161063)
+++ trunk/Source/WebKit2/ChangeLog 2013-12-25 09:56:23 UTC (rev 161064)
@@ -1,5 +1,17 @@
2013-12-25 Carlos Garcia Campos <[email protected]>
+ [GTK] Fix warnings when generating WebExtensions gobject-instrospection files
+ https://bugs.webkit.org/show_bug.cgi?id=126225
+
+ Reviewed by Philippe Normand.
+
+ Add transfer annotation to webkit_web_page_get_dom_document() and
+ document webkit_web_page_get_main_frame().
+
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
+
+2013-12-25 Carlos Garcia Campos <[email protected]>
+
[GTK] Missing introspection information for WebExtensions
https://bugs.webkit.org/show_bug.cgi?id=122407
Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp (161063 => 161064)
--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp 2013-12-25 09:53:04 UTC (rev 161063)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp 2013-12-25 09:56:23 UTC (rev 161064)
@@ -411,7 +411,7 @@
*
* Get the #WebKitDOMDocument currently loaded in @web_page
*
- * Returns: the #WebKitDOMDocument currently loaded, or %NULL
+ * Returns: (transfer none): the #WebKitDOMDocument currently loaded, or %NULL
* if no document is currently loaded.
*/
WebKitDOMDocument* webkit_web_page_get_dom_document(WebKitWebPage* webPage)
@@ -459,6 +459,16 @@
return webPage->priv->uri.data();
}
+/**
+ * webkit_web_page_get_main_frame:
+ * @web_page: a #WebKitWebPage
+ *
+ * Returns the main frame of a #WebKitWebPage.
+ *
+ * Returns: (transfer none): the #WebKitFrame that is the main frame of @web_page
+ *
+ * Since: 2.2
+ */
WebKitFrame* webkit_web_page_get_main_frame(WebKitWebPage* webPage)
{
g_return_val_if_fail(WEBKIT_IS_WEB_PAGE(webPage), 0);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes