dns-manager,client: rename struct NMDnsEntry

We got a typedef of the same name, and that causes gtk-doc to generate
invalid docbook and complain aloud:

  ../xml/nm-client.xml:4118: element refsect2: validity error : ID NMDnsEntry already defined
  <refsect2 id="NMDnsEntry" role="typedef" condition="since:1.6">
  Warning: multiple "IDs" for constraint linkend: NMDnsEntry.
This commit is contained in:
Lubomir Rintel 2022-11-13 23:32:23 +01:00
parent f87bcac297
commit 59ac34976b
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@
G_DEFINE_BOXED_TYPE(NMDnsEntry, nm_dns_entry, nm_dns_entry_dup, nm_dns_entry_unref)
struct NMDnsEntry {
struct _NMDnsEntry {
guint refcount;
char *interface;

View file

@ -134,7 +134,7 @@ GQuark nm_client_error_quark(void);
*
* Since: 1.6
*/
typedef struct NMDnsEntry NMDnsEntry;
typedef struct _NMDnsEntry NMDnsEntry;
NM_AVAILABLE_IN_1_6
GType nm_dns_entry_get_type(void);