1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-22 15:48:52 -05:00

Fix warning about g_type_init() in dbus/example.c

This commit is contained in:
RichardHitt 2013-05-01 12:12:05 -07:00
parent 1969db5f94
commit b08d9cfb56

View File

@ -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) {