mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 11:19:16 +02:00
shared/tests: add nmtst_g_source_nop() helper
This commit is contained in:
parent
11068cf936
commit
ca2b79d9aa
1 changed files with 7 additions and 0 deletions
|
|
@ -1143,6 +1143,13 @@ nmtst_g_source_assert_not_called(gpointer user_data)
|
||||||
return G_SOURCE_CONTINUE;
|
return G_SOURCE_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline gboolean
|
||||||
|
nmtst_g_source_nop(gpointer user_data)
|
||||||
|
{
|
||||||
|
g_assert(!user_data);
|
||||||
|
return G_SOURCE_CONTINUE;
|
||||||
|
}
|
||||||
|
|
||||||
static inline gboolean
|
static inline gboolean
|
||||||
nmtst_g_source_set_boolean_true(gpointer user_data)
|
nmtst_g_source_set_boolean_true(gpointer user_data)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue