Always use an odd number of actions during testing
This commit is contained in:
parent
62a83e183e
commit
c236ef7751
@ -159,6 +159,9 @@ bool dbus_notification_fire(struct dbus_notification *n, uint *id)
|
||||
g_variant_builder_add(&b, "s", (char*)p_key);
|
||||
g_variant_builder_add(&b, "s", (char*)p_value);
|
||||
}
|
||||
// Add an invalid appendix to cover odd numbered action arrays
|
||||
// Shouldn't interfere with normal testing
|
||||
g_variant_builder_add(&b, "s", "invalid appendix");
|
||||
g_variant_builder_close(&b);
|
||||
g_variant_type_free(t);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user