summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/extension/dbus/wrapper/inkscape-dbus-wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/extension/dbus/wrapper/inkscape-dbus-wrapper.c b/src/extension/dbus/wrapper/inkscape-dbus-wrapper.c
index 7a33d4f38..0be1be42e 100644
--- a/src/extension/dbus/wrapper/inkscape-dbus-wrapper.c
+++ b/src/extension/dbus/wrapper/inkscape-dbus-wrapper.c
@@ -96,7 +96,9 @@ inkscape_desktop_init_dbus ()
GError *error;
DBusGProxy *proxy;
+#if !GLIB_CHECK_VERSION(2,36,0)
g_type_init ();
+#endif
error = NULL;
connection = dbus_g_bus_get (DBUS_BUS_SESSION,