[Github-comments] [geany/geany-plugins] Port both webhelper and markdown to webkit2gtk (#677)
Matthew Brush
notifications at xxxxx
Thu Jan 18 05:56:00 UTC 2018
codebrainz commented on this pull request.
> @@ -389,8 +389,8 @@ markdown_viewer_update_view(MarkdownViewer *self)
* position once the webview is reloaded. */
if (self->priv->load_handle == 0) {
self->priv->load_handle =
- g_signal_connect_swapped(WEBKIT_WEB_VIEW(self), "notify::load-status",
- G_CALLBACK(on_webview_load_status_notify), self);
+ g_signal_connect_swapped(WEBKIT_WEB_VIEW(self), "notify::is-loading",
+ G_CALLBACK(on_webview_is_loading_notify), self);
Instead of the property notification, maybe it should use [`load-changed`](https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#WebKitWebView-load-changed)?
> MarkdownViewer *self)
{
- WebKitLoadEvent load_status;
+ gboolean load_status;
Likewise, instead of using this boolean, to look for [`WEBKIT_LOAD_FINISHED`](https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#WEBKIT-LOAD-FINISHED:CAPS)?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/677#pullrequestreview-89678176
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180117/89e7ba4f/attachment.html>
More information about the Github-comments
mailing list