[Commits] [SCM] claws branch, master, updated. 4.1.1-62-g7c1ea64fe
mones at claws-mail.org
mones at claws-mail.org
Sat Jun 3 11:03:58 UTC 2023
The branch, master has been updated
via 7c1ea64fe3bb78a8f7289eb28beeb40c62d0f141 (commit)
from 671a081c4aad640f05db26535a2a660ae27643c8 (commit)
Summary of changes:
src/plugins/fancy/fancy_viewer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 7c1ea64fe3bb78a8f7289eb28beeb40c62d0f141
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Jun 3 12:58:22 2023 +0200
Fix error creation and warning
The error won't be created if the GQuark is 0, only a warning is
emitted and NULL is returned. See:
https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gerror.c#L792
diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index ba51867d6..b328024a2 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -509,7 +509,7 @@ static void load_content_cb(WebKitURISchemeRequest *request, gpointer viewer)
}
}
- error = g_error_new(0, 0, _("Couldn't save the part of multipart message: %s"), image);
+ error = g_error_new(G_FILE_ERROR, 0, _("Couldn't save the part of multipart message: %s"), image);
webkit_uri_scheme_request_finish_error(request, error);
g_error_free(error);
g_free(image);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list