Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 05 Feb 2023 22:10:45 UTC Commit: 67e6aa628e6fa30e448806e604f50262017b79d2 https://github.com/geany/geany-plugins/commit/67e6aa628e6fa30e448806e604f502...
Log Message: ----------- webhelper: Fix constness of a variable
cairo_image_surface_get_width() and friends expects a non-const cairo_surface_t.
Modified Paths: -------------- webhelper/src/gwh-browser.c
Modified: webhelper/src/gwh-browser.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -140,7 +140,7 @@ static void inspector_set_detached (GwhBrowser *self,
static void set_location_icon (GwhBrowser *self, - const cairo_surface_t *icon_surface) + cairo_surface_t *icon_surface) { gboolean success = FALSE;
@@ -576,7 +576,7 @@ on_web_view_favicon_notify (GObject *object, GParamSpec *pspec, GwhBrowser *self) { - const cairo_surface_t *icon_surface; + cairo_surface_t *icon_surface;
icon_surface = webkit_web_view_get_favicon (WEBKIT_WEB_VIEW (self->priv->web_view)); set_location_icon (self, icon_surface);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).