Commit c3fe62aa authored by Tristan Matthews's avatar Tristan Matthews

gnome: remove another deprecated g_type_init call

parent 06405393
......@@ -642,8 +642,6 @@ gboolean dbus_connect(GError **error, SFLPhoneClient *client)
const char *configurationmanager_object_instance = "/org/sflphone/SFLphone/ConfigurationManager";
const char *configurationmanager_interface = "org.sflphone.SFLphone.ConfigurationManager";
g_type_init();
DBusGConnection *connection = dbus_g_bus_get(DBUS_BUS_SESSION, error);
if (connection == NULL) {
g_warning("could not establish connection with session bus");
......
......@@ -36,7 +36,6 @@
START_TEST(test_dbus_connect)
{
g_type_init();
GError *error = NULL;
SFLPhoneClient *client = sflphone_client_new();
fail_unless(dbus_connect(&error, client) == TRUE, "dbus_connect () returns FALSE");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment