[Commits] [SCM] claws branch, master, updated. 4.1.0-88-g333f56c38

paul at claws-mail.org paul at claws-mail.org
Thu Oct 20 08:12:19 UTC 2022


The branch, master has been updated
       via  333f56c3894449ccd6786c41257ddcc5cf021efe (commit)
      from  c45dc1be79e0849b06d70e8861122457bc64cd4d (commit)

Summary of changes:
 src/plugins/fancy/fancy_web_extension.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 333f56c3894449ccd6786c41257ddcc5cf021efe
Author: Paul <paul at claws-mail.org>
Date:   Thu Oct 20 09:12:14 2022 +0100

    check for return value when setting G_MESSAGES_DEBUG

diff --git a/src/plugins/fancy/fancy_web_extension.c b/src/plugins/fancy/fancy_web_extension.c
index 160251df5..586d95daf 100644
--- a/src/plugins/fancy/fancy_web_extension.c
+++ b/src/plugins/fancy/fancy_web_extension.c
@@ -103,7 +103,8 @@ static void web_page_created_cb(WebKitWebExtension *extension,
 
 G_MODULE_EXPORT void webkit_web_extension_initialize(WebKitWebExtension *extension)
 {
-	g_setenv("G_MESSAGES_DEBUG", "Fancy-Web-Ext", FALSE);
+	if (!g_setenv("G_MESSAGES_DEBUG", G_LOG_DOMAIN, FALSE))
+		g_warning("could not set G_MESSAGES_DEBUG\n");
 
 	g_debug("Initializing Fancy web process extension");
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list