RESOLVED FIXED88426
[GTK] Add API to get the library version to WebKit2 GTK+
https://bugs.webkit.org/show_bug.cgi?id=88426
Summary [GTK] Add API to get the library version to WebKit2 GTK+
Carlos Garcia Campos
Reported 2012-06-06 09:56:42 PDT
WEBKIT_[MAJOR|MINOR|MICRO]_VERSION macros and webkit_get_[major|minor|micro]_version functions. And WEBKIT_CHECK_VERSION macro too would be useful.
Attachments
Patch (17.44 KB, patch)
2012-06-06 10:02 PDT, Carlos Garcia Campos
no flags
Updated patch (16.60 KB, patch)
2012-06-08 00:50 PDT, Carlos Garcia Campos
mrobinson: review+
Carlos Garcia Campos
Comment 1 2012-06-06 10:02:37 PDT
WebKit Review Bot
Comment 2 2012-06-06 10:05:44 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Martin Robinson
Comment 3 2012-06-06 10:57:11 PDT
Comment on attachment 146052 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=146052&action=review > Source/WebKit2/GNUmakefile.am:12 > + $(webkit2gtk_h_api) \ > + $(webkit2gtk_built_h_api) I'm fairly certain that you don't want to list webkit2gtk_built_h_api here, as they are already listed on a previous primary. This may even cause them to be distributed when running make dist. Removing them here would allow you do remove webkit2gtk_built_h_api entirely.
Carlos Garcia Campos
Comment 4 2012-06-08 00:47:25 PDT
(In reply to comment #3) > (From update of attachment 146052 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=146052&action=review > > > Source/WebKit2/GNUmakefile.am:12 > > + $(webkit2gtk_h_api) \ > > + $(webkit2gtk_built_h_api) > > I'm fairly certain that you don't want to list webkit2gtk_built_h_api here, as they are already listed on a previous primary. This may even cause them to be distributed when running make dist. Removing them here would allow you do remove webkit2gtk_built_h_api entirely. Absolutely right
Carlos Garcia Campos
Comment 5 2012-06-08 00:50:53 PDT
Created attachment 146500 [details] Updated patch
Carlos Garcia Campos
Comment 6 2012-06-08 09:38:08 PDT
Note You need to log in before you can comment on or make changes to this bug.