Commit 0cee9ef7 authored by Thomas Haller's avatar Thomas Haller

nmtst: add nmtst_main_loop_quit_on_notify function

parent 3a09a7e9
......@@ -853,6 +853,18 @@ nmtst_main_loop_run (GMainLoop *loop, int timeout_ms)
return loopx != NULL;
inline static void
_nmtst_main_loop_quit_on_notify (GObject *object, GParamSpec *pspec, gpointer user_data)
GMainLoop *loop = user_data;
g_assert (G_IS_OBJECT (object));
g_assert (loop);
g_main_loop_quit (loop);
#define nmtst_main_loop_quit_on_notify ((GCallback) _nmtst_main_loop_quit_on_notify)
inline static const char *
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment