Use correct path when initializing a collection

This commit is contained in:
Stef Walter 2012-06-27 16:43:14 +02:00
parent 277e65b87a
commit 5e73621f40

View File

@ -1364,7 +1364,7 @@ on_ensure_collection (GObject *source,
g_simple_async_result_take_error (res, error); g_simple_async_result_take_error (res, error);
if (collection != NULL) { if (collection != NULL) {
path = g_dbus_proxy_get_object_path (G_DBUS_PROXY (self)); path = g_dbus_proxy_get_object_path (G_DBUS_PROXY (collection));
g_hash_table_insert (closure->collections, g_strdup (path), collection); g_hash_table_insert (closure->collections, g_strdup (path), collection);
} }