From d939d00455bc48e02239656f4b1da2fd764b99d1 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Fri, 15 Mar 2019 09:41:51 +0100 Subject: [PATCH] libnm: fix dns-configuration property type Fixes: a8d600525643 ('libnm: implement support for DNS manager properties') https://bugzilla.redhat.com/show_bug.cgi?id=1689055 (cherry picked from commit d867837d05a808ff90756a41a96f778846522465) (cherry picked from commit 47f1c931ee0140d9c04a5320e4462c11cce0d813) (cherry picked from commit 37586cada67283df2835d59a6fb0a706b68803c1) --- libnm/nm-client.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/libnm/nm-client.c b/libnm/nm-client.c index a360df2d62..b42589ae6a 100644 --- a/libnm/nm-client.c +++ b/libnm/nm-client.c @@ -3554,15 +3554,10 @@ nm_client_class_init (NMClientClass *client_class) G_PARAM_STATIC_STRINGS)); /** - * NMClient:dns-configuration: (type GPtrArray(GVariant)) + * NMClient:dns-configuration: (type GPtrArray(NMDnsEntry)) * - * The current DNS configuration represented as an array of - * dictionaries. Each dictionary has the "nameservers", - * "priority" keys and, optionally, "interface" and "vpn". - * "nameservers" is the list of DNS servers, "priority" their - * relative priority, "interface" the interface on which these - * servers are contacted, "vpn" a boolean telling whether the - * configuration was obtained from a VPN connection. + * The current DNS configuration, represented as an array + * of #NMDnsEntry objects. * * Since: 1.6 **/