summary refs log tree commit diff
path: root/callouts/nm-avahi-autoipd-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'callouts/nm-avahi-autoipd-action.c')
-rw-r--r--callouts/nm-avahi-autoipd-action.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/callouts/nm-avahi-autoipd-action.c b/callouts/nm-avahi-autoipd-action.c
index 440efade..f84eed71 100644
--- a/callouts/nm-avahi-autoipd-action.c
+++ b/callouts/nm-avahi-autoipd-action.c
@@ -90,7 +90,9 @@ main (int argc, char *argv[])
 	dbus_bool_t result;
 	char *event, *iface, *address;
 
+#if !GLIB_CHECK_VERSION (2, 35, 0)
 	g_type_init ();
+#endif
 
 	if (argc != 4) {
 		fprintf (stderr, "Error: expected 3 arguments (event, interface, address).\n");