summary refs log tree commit diff stats
path: root/src/common/dbus/example.c
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-05-01 12:12:05 -0700
committerRichardHitt <rbh00@netcom.com>2013-05-01 12:12:05 -0700
commitb08d9cfb567ad6944182a8f09015f1b648bb2ac6 (patch)
treee6d597c89e0977887765fdce80ca35fa68562293 /src/common/dbus/example.c
parent1969db5f94b3f63a64f7d0702e39a6e872cb522d (diff)
Fix warning about g_type_init() in dbus/example.c
Diffstat (limited to 'src/common/dbus/example.c')
-rw-r--r--src/common/dbus/example.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/dbus/example.c b/src/common/dbus/example.c
index b78bb004..ee1833d3 100644
--- a/src/common/dbus/example.c
+++ b/src/common/dbus/example.c
@@ -102,7 +102,9 @@ main (int argc, char **argv)
 	gchar *path;
 	GError *error = NULL;
 
+#if ! GLIB_CHECK_VERSION (2, 36, 0)
 	g_type_init ();
+#endif
 
 	connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
 	if (connection == NULL) {