mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-13 17:30:33 +01:00
core: use G_DEFINE_ABSTRACT_TYPE() macro instead of G_DEFINE_TYPE_EXTENDED()
This commit is contained in:
parent
8d890e27ce
commit
5bf2112056
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ typedef struct _NMDhcpClientPrivate {
|
|||
bool use_fqdn:1;
|
||||
} NMDhcpClientPrivate;
|
||||
|
||||
G_DEFINE_TYPE_EXTENDED (NMDhcpClient, nm_dhcp_client, G_TYPE_OBJECT, G_TYPE_FLAG_ABSTRACT, {})
|
||||
G_DEFINE_ABSTRACT_TYPE (NMDhcpClient, nm_dhcp_client, G_TYPE_OBJECT)
|
||||
|
||||
#define NM_DHCP_CLIENT_GET_PRIVATE(self) _NM_GET_PRIVATE_PTR (self, NMDhcpClient, NM_IS_DHCP_CLIENT)
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ typedef struct _NMDnsPluginPrivate {
|
|||
char *pidfile;
|
||||
} NMDnsPluginPrivate;
|
||||
|
||||
G_DEFINE_TYPE_EXTENDED (NMDnsPlugin, nm_dns_plugin, G_TYPE_OBJECT, G_TYPE_FLAG_ABSTRACT, {})
|
||||
G_DEFINE_ABSTRACT_TYPE (NMDnsPlugin, nm_dns_plugin, G_TYPE_OBJECT)
|
||||
|
||||
#define NM_DNS_PLUGIN_GET_PRIVATE(self) _NM_GET_PRIVATE_PTR (self, NMDnsPlugin, NM_IS_DNS_PLUGIN)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue