#include #include #include /* * gcc $(pkg-config --cflags --libs dbus-glib-1 gobject-2.0 glib-2.0) dbus-glib-spec-type-init.c -o test */ int main () { g_type_init (); /* Without the below block this program produces a critical warning */ /* DBusGConnection *connection; GError *error; error = NULL; connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error); */ GType type = DBUS_TYPE_G_UINT_ARRAY; return 0; }