Bug 126225 - [GTK] Fix warnings when generating WebExtensions gobject-instrospection files
Summary: [GTK] Fix warnings when generating WebExtensions gobject-instrospection files
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2013-12-25 01:41 PST by Carlos Garcia Campos
Modified: 2013-12-25 01:53 PST (History)
2 users (show)

See Also:


Attachments
Patch (2.00 KB, patch)
2013-12-25 01:44 PST, Carlos Garcia Campos
pnormand: review+
pnormand: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2013-12-25 01:41:45 PST
Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:414: Warning: WebKit2WebExtension: webkit_web_page_get_dom_document: return value: Missing (transfer) annotation
Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h:68: Warning: WebKit2WebExtension: webkit_web_page_get_main_frame: return value: Missing (transfer) annotation

webkit_web_page_get_main_frame is not even documented :-P
Comment 1 Carlos Garcia Campos 2013-12-25 01:44:07 PST
Created attachment 219988 [details]
Patch
Comment 2 Philippe Normand 2013-12-25 01:47:54 PST
Comment on attachment 219988 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=219988&action=review

> Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:466
> + * Retruns the main frame of a #WebKitWebPage.

Returns
Comment 3 Carlos Garcia Campos 2013-12-25 01:53:02 PST
Committed r161064: <http://trac.webkit.org/changeset/161064>