Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
priv = GET_PRIV (operation);
priv = GET_PRIV (operation);
- return g_object_ref (priv->connection);
+ return priv->connection;
connection = empathy_dispatch_operation_get_tp_connection (operation);
cd = g_hash_table_lookup (priv->connections, connection);
g_assert (cd != NULL);
connection = empathy_dispatch_operation_get_tp_connection (operation);
cd = g_hash_table_lookup (priv->connections, connection);
g_assert (cd != NULL);
- g_object_unref (G_OBJECT (connection));
object_path = empathy_dispatch_operation_get_object_path (operation);
object_path = empathy_dispatch_operation_get_object_path (operation);
connection = empathy_dispatch_operation_get_tp_connection (operation);
cd = g_hash_table_lookup (priv->connections, connection);
g_assert (cd != NULL);
connection = empathy_dispatch_operation_get_tp_connection (operation);
cd = g_hash_table_lookup (priv->connections, connection);
g_assert (cd != NULL);
- g_object_unref (G_OBJECT (connection));
g_object_ref (operation);
g_object_ref (dispatcher);
g_object_ref (operation);
g_object_ref (dispatcher);