{"action":"opened","issue":{"url":"https://api.github.com/repos/zserge/webview/issues/192","repository_url":"https://api.github.com/repos/zserge/webview","labels_url":"https://api.github.com/repos/zserge/webview/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/zserge/webview/issues/192/comments","events_url":"https://api.github.com/repos/zserge/webview/issues/192/events","html_url":"https://github.com/zserge/webview/issues/192","id":364397546,"node_id":"MDU6SXNzdWUzNjQzOTc1NDY=","number":192,"title":"deprecation warnings in compilation when using latest libwebkit2gtk","user":{"login":"thehowl","id":4681308,"node_id":"MDQ6VXNlcjQ2ODEzMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4681308?v=4","gravatar_id":"","url":"https://api.github.com/users/thehowl","html_url":"https://github.com/thehowl","followers_url":"https://api.github.com/users/thehowl/followers","following_url":"https://api.github.com/users/thehowl/following{/other_user}","gists_url":"https://api.github.com/users/thehowl/gists{/gist_id}","starred_url":"https://api.github.com/users/thehowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehowl/subscriptions","organizations_url":"https://api.github.com/users/thehowl/orgs","repos_url":"https://api.github.com/users/thehowl/repos","events_url":"https://api.github.com/users/thehowl/events{/privacy}","received_events_url":"https://api.github.com/users/thehowl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-27T10:03:35Z","updated_at":"2018-09-27T10:03:35Z","closed_at":null,"author_association":"NONE","body":"### What OS are you using (`uname -a`, or Windows version)?\r\n\r\nVoid linux. `webkit2gtk 2.22.2_1`.\r\n\r\n### What programming language are you using (C/C++/Go/Rust)?\r\n\r\n```\r\n$ go version\r\ngo version go1.11 linux/amd64\r\n$ gcc --version\r\ngcc --version \r\ngcc (GCC) 8.2.0\r\n```\r\n\r\n### What did you expect to see and what you saw instead?\r\n\r\ncompile log:\r\n\r\n```\r\n# path/to/package/vendor/github.com/zserge/webview\r\nIn file included from webview.go:27,\r\n                 from _cgo_export.c:4:\r\nvendor/github.com/zserge/webview/webview.h: In function 'external_message_received_cb':\r\nvendor/github.com/zserge/webview/webview.h:253:3: warning: 'webkit_javascript_result_get_global_context' is deprecated [-Wdeprecated-declarations]\r\n   JSGlobalContextRef context = webkit_javascript_result_get_global_context(r);\r\n   ^~~~~~~~~~~~~~~~~~\r\nIn file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54,\r\n                 from vendor/github.com/zserge/webview/webview.h:44,\r\n                 from webview.go:27,\r\n                 from _cgo_export.c:4:\r\n/usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:49:1: note: declared here\r\n webkit_javascript_result_get_global_context (WebKitJavascriptResult *js_result);\r\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from webview.go:27,\r\n                 from _cgo_export.c:4:\r\nvendor/github.com/zserge/webview/webview.h:254:3: warning: 'webkit_javascript_result_get_value' is deprecated: Use 'webkit_javascript_result_get_js_value' instead [-Wdeprecated-declarations]\r\n   JSValueRef value = webkit_javascript_result_get_value(r);\r\n   ^~~~~~~~~~\r\nIn file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54,\r\n                 from vendor/github.com/zserge/webview/webview.h:44,\r\n                 from webview.go:27,\r\n                 from _cgo_export.c:4:\r\n/usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:52:1: note: declared here\r\n webkit_javascript_result_get_value          (WebKitJavascriptResult *js_result);\r\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n# path/to/package/vendor/github.com/zserge/webview\r\nIn file included from vendor/github.com/zserge/webview/webview.go:27:\r\nvendor/github.com/zserge/webview/webview.h: In function 'external_message_received_cb':\r\nvendor/github.com/zserge/webview/webview.h:253:3: warning: 'webkit_javascript_result_get_global_context' is deprecated [-Wdeprecated-declarations]\r\n   JSGlobalContextRef context = webkit_javascript_result_get_global_context(r);\r\n   ^~~~~~~~~~~~~~~~~~\r\nIn file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54,\r\n                 from vendor/github.com/zserge/webview/webview.h:44,\r\n                 from vendor/github.com/zserge/webview/webview.go:27:\r\n/usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:49:1: note: declared here\r\n webkit_javascript_result_get_global_context (WebKitJavascriptResult *js_result);\r\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from vendor/github.com/zserge/webview/webview.go:27:\r\nvendor/github.com/zserge/webview/webview.h:254:3: warning: 'webkit_javascript_result_get_value' is deprecated: Use 'webkit_javascript_result_get_js_value' instead [-Wdeprecated-declarations]\r\n   JSValueRef value = webkit_javascript_result_get_value(r);\r\n   ^~~~~~~~~~\r\nIn file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54,\r\n                 from vendor/github.com/zserge/webview/webview.h:44,\r\n                 from vendor/github.com/zserge/webview/webview.go:27:\r\n/usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:52:1: note: declared here\r\n webkit_javascript_result_get_value          (WebKitJavascriptResult *js_result);\r\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n```"}}
{"actor":{"display_login":"thehowl"}}