mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-26 17:00:32 +01:00
shared/tests: add nmtst_g_source_nop() helper
(cherry picked from commitca2b79d9aa) (cherry picked from commitddb69b211c) (cherry picked from commite069982492) (cherry picked from commit8358652425) (cherry picked from commit2d59d02d33) (cherry picked from commit7a9af7213b)
This commit is contained in:
parent
5373680df9
commit
d0c3f868cb
1 changed files with 7 additions and 0 deletions
|
|
@ -1001,6 +1001,13 @@ nmtst_g_source_set_boolean_true (gpointer user_data)
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue