test-bus-marshal.c: do not call g_type_init() for modern glib versions

This commit is contained in:
Harald Hoyer 2013-04-04 09:02:28 +02:00
parent 68395007f3
commit 34f856cbd0

View file

@ -96,7 +96,9 @@ int main(int argc, char *argv[]) {
GDBusMessage *g;
char *p;
#if !defined(GLIB_VERSION_2_36)
g_type_init();
#endif
g = g_dbus_message_new_from_blob(buffer, sz, 0, NULL);
p = g_dbus_message_print(g, 0);