diff --git a/library/secret-collection.c b/library/secret-collection.c index d5b439b..d088d5b 100644 --- a/library/secret-collection.c +++ b/library/secret-collection.c @@ -458,7 +458,7 @@ secret_collection_signal (GDBusProxy *proxy, /* A new collection was added, add it to the Collections property */ if (g_str_equal (signal_name, SECRET_SIGNAL_ITEM_CREATED)) { - g_variant_get (parameters, "@o", &value); + g_variant_get (parameters, "(@o)", &value); g_variant_builder_init (&builder, G_VARIANT_TYPE ("ao")); g_variant_iter_init (&iter, paths); while ((path = g_variant_iter_next_value (&iter)) != NULL) { @@ -478,7 +478,7 @@ secret_collection_signal (GDBusProxy *proxy, /* A collection was deleted, remove it from the Collections property */ } else if (g_str_equal (signal_name, SECRET_SIGNAL_ITEM_DELETED)) { - g_variant_get (parameters, "@o", &value); + g_variant_get (parameters, "(@o)", &value); g_variant_builder_init (&builder, G_VARIANT_TYPE ("ao")); g_variant_iter_init (&iter, paths); while ((path = g_variant_iter_next_value (&iter)) != NULL) { @@ -494,7 +494,7 @@ secret_collection_signal (GDBusProxy *proxy, /* The collection changed, update it */ } else if (g_str_equal (signal_name, SECRET_SIGNAL_ITEM_CHANGED)) { - g_variant_get (parameters, "&o", &item_path); + g_variant_get (parameters, "(&o)", &item_path); g_mutex_lock (&self->pv->mutex); diff --git a/library/secret-service.c b/library/secret-service.c index 9e870e2..971c940 100644 --- a/library/secret-service.c +++ b/library/secret-service.c @@ -354,7 +354,7 @@ secret_service_signal (GDBusProxy *proxy, /* A new collection was added, add it to the Collections property */ if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_CREATED)) { - g_variant_get (parameters, "@o", &value); + g_variant_get (parameters, "(@o)", &value); g_variant_builder_init (&builder, G_VARIANT_TYPE ("ao")); g_variant_iter_init (&iter, paths); while ((path = g_variant_iter_next_value (&iter)) != NULL) { @@ -374,7 +374,7 @@ secret_service_signal (GDBusProxy *proxy, /* A collection was deleted, remove it from the Collections property */ } else if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_DELETED)) { - g_variant_get (parameters, "@o", &value); + g_variant_get (parameters, "(@o)", &value); g_variant_builder_init (&builder, G_VARIANT_TYPE ("ao")); g_variant_iter_init (&iter, paths); while ((path = g_variant_iter_next_value (&iter)) != NULL) { @@ -390,7 +390,7 @@ secret_service_signal (GDBusProxy *proxy, /* The collection changed, update it */ } else if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_CHANGED)) { - g_variant_get (parameters, "&o", &collection_path); + g_variant_get (parameters, "(&o)", &collection_path); g_mutex_lock (&self->pv->mutex);