18 Mar
2013
18 Mar
'13
3:04 p.m.
Hello,
in glib 2.36.0 it is no longer allowed to declare g_type_init, the following patch solves this for me in inkscape.
diff -Naur orig/src/extension/dbus/wrapper/inkscape-dbus-wrapper.c new/src/extension/dbus/wrapper/inksca pe-dbus-wrapper.c --- orig/src/extension/dbus/wrapper/inkscape-dbus-wrapper.c 2013-03-18 00:08:01.000000000 +0100 +++ new/src/extension/dbus/wrapper/inkscape-dbus-wrapper.c 2013-03-18 00:09:27.000000000 +0100 @@ -95,9 +95,9 @@ DBusGConnection *connection; GError *error; DBusGProxy *proxy; - +#if !GLIB_CHECK_VERSION(2,35,0) g_type_init (); - +#endif error = NULL; connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);