From 1e5977b62f896e844b548c3007ace9e1dfa7f9ed Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 11 Apr 2020 21:28:04 +0200 Subject: New upstream version 1.23.90 --- shared/nm-test-libnm-utils.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'shared/nm-test-libnm-utils.h') diff --git a/shared/nm-test-libnm-utils.h b/shared/nm-test-libnm-utils.h index 63e3b4c7..06dbc72d 100644 --- a/shared/nm-test-libnm-utils.h +++ b/shared/nm-test-libnm-utils.h @@ -67,4 +67,18 @@ void nmtstc_service_update_connection_variant (NMTstcServiceInfo *sinfo, GVariant *connection, gboolean verify_connection); -NMClient *nmtstc_client_new (gboolean allow_iterate_main_context); +gpointer nmtstc_context_object_new_valist (GType gtype, + gboolean allow_iterate_main_context, + const char *first_property_name, + va_list var_args); + +gpointer nmtstc_context_object_new (GType gtype, + gboolean allow_iterate_main_context, + const char *first_property_name, + ...); + +static inline NMClient * +nmtstc_client_new (gboolean allow_iterate_main_context) +{ + return nmtstc_context_object_new (NM_TYPE_CLIENT, allow_iterate_main_context, NULL); +} -- cgit 1.3.0-6-gf8a5