gsignalgroup: Avoid function call with side effect in g_return_* macro

This commit is contained in:
Kleis Auke Wolthuizen
2023-11-01 10:53:55 +00:00
committed by Philip Withnall
parent 8773121ba2
commit 9ec6c19342
2 changed files with 8 additions and 3 deletions

View File

@@ -305,7 +305,7 @@ test_signal_group_invalid (void)
/* Invalid Signal Name */
g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
"*g_signal_parse_name*");
"*Invalid signal name “does-not-exist”*");
group = g_signal_group_new (signal_target_get_type ());
g_signal_group_connect (group,
"does-not-exist",