mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-30 12:54:11 +02:00
gsignalgroup: Avoid function call with side effect in g_return_* macro
This commit is contained in:
committed by
Philip Withnall
parent
8773121ba2
commit
9ec6c19342
@@ -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",
|
||||
|
Reference in New Issue
Block a user