libnm: fix dns-configuration property type

Fixes: a8d6005256 ('libnm: implement support for DNS manager properties')

https://bugzilla.redhat.com/show_bug.cgi?id=1689055
(cherry picked from commit d867837d05)
(cherry picked from commit 47f1c931ee)
(cherry picked from commit 37586cada6)
This commit is contained in:
Beniamino Galvani 2019-03-15 09:41:51 +01:00
parent b10a7e5786
commit d939d00455

View file

@ -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
**/