summaryrefslogtreecommitdiff
path: root/proxy/environment
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2023-04-06 14:11:15 -0500
committerMarge Bot <marge-bot@gnome.org>2023-04-06 20:08:38 +0000
commitab940088e64c78928c35a1d976bc7876a5a4275b (patch)
treebd4eaef21547e5cfc6a9710875e0a505ac968446 /proxy/environment
parentdf624a8768b9602ee4ea3cecdfc795ad2fdad4a4 (diff)
downloadglib-networking-master.tar.gz
Flag all final types accordinglyHEADmaster
Part-of: <https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/237>
Diffstat (limited to 'proxy/environment')
-rw-r--r--proxy/environment/genvironmentproxyresolver.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/proxy/environment/genvironmentproxyresolver.c b/proxy/environment/genvironmentproxyresolver.c
index e70b3ba..d362d9e 100644
--- a/proxy/environment/genvironmentproxyresolver.c
+++ b/proxy/environment/genvironmentproxyresolver.c
@@ -42,15 +42,15 @@ g_environment_proxy_resolver_class_finalize (GEnvironmentProxyResolverClass *kla
G_DEFINE_DYNAMIC_TYPE_EXTENDED (GEnvironmentProxyResolver,
g_environment_proxy_resolver,
- G_TYPE_OBJECT, 0,
+ G_TYPE_OBJECT, G_TYPE_FLAG_FINAL,
G_IMPLEMENT_INTERFACE_DYNAMIC (G_TYPE_PROXY_RESOLVER,
g_environment_proxy_resolver_iface_init))
#else
-G_DEFINE_TYPE_EXTENDED (GEnvironmentProxyResolver,
- g_environment_proxy_resolver,
- G_TYPE_OBJECT, 0,
- G_IMPLEMENT_INTERFACE (G_TYPE_PROXY_RESOLVER,
- g_environment_proxy_resolver_iface_init))
+G_DEFINE_FINAL_TYPE_WITH_CODE (GEnvironmentProxyResolver,
+ g_environment_proxy_resolver,
+ G_TYPE_OBJECT,
+ G_IMPLEMENT_INTERFACE (G_TYPE_PROXY_RESOLVER,
+ g_environment_proxy_resolver_iface_init))
#endif
static gboolean