Commit ad1962e8 authored by Emmanuel Milou's avatar Emmanuel Milou

Fix some dbus-glib implementation details on the client side

parent 4b22a26a
......@@ -164,6 +164,8 @@ sflphone_fill_account_list(gboolean toolbarInitialized)
{
account_t * a = account_list_get_nth (i);
GHashTable * details = (GHashTable *) dbus_account_details(a->accountID);
if( details == NULL )
break;
a->properties = details;
gchar * status = g_hash_table_lookup(details, "Status");
......
......@@ -177,12 +177,12 @@ dbus_connect ()
{
GError *error = NULL;
connection = NULL;
g_type_init ();
error = NULL;
connection = dbus_g_bus_get (DBUS_BUS_SESSION,
&error);
connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
if (connection == NULL)
{
g_printerr ("Failed to open connection to bus: %s\n",
......@@ -281,6 +281,7 @@ dbus_clean ()
{
g_object_unref (callManagerProxy);
g_object_unref (configurationManagerProxy);
g_object_unref (instanceProxy);
}
......
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