summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-06-28 13:15:06 +0200
committerStef Walter <stefw@gnome.org>2012-06-28 13:15:06 +0200
commit89550876ff1345e3f348d88a9be46261486c876f (patch)
tree12b24ec37c382a3eb0d43c6b091e62be4083fcf3 /tool
parentd0df587f088623b01ceaba7e18b8ef939d8c0831 (diff)
downloadlibsecret-89550876ff1345e3f348d88a9be46261486c876f.tar.gz
Remove varargs SecretService methods
* The SecretService methods aren't used as frequently as the password methods, and it's not really necessary to have a whole bunch of extra varargs functions. * Add varargs functions for building a GHashTable of attributes
Diffstat (limited to 'tool')
-rw-r--r--tool/secret-tool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/secret-tool.c b/tool/secret-tool.c
index 80226ce..c393112 100644
--- a/tool/secret-tool.c
+++ b/tool/secret-tool.c
@@ -135,7 +135,7 @@ secret_tool_action_remove (int argc,
service = secret_service_get_sync (SECRET_SERVICE_NONE, NULL, &error);
if (error == NULL)
- secret_service_removev_sync (service, NULL, attributes, NULL, &error);
+ secret_service_remove_sync (service, NULL, attributes, NULL, &error);
g_object_unref (service);
g_hash_table_unref (attributes);
@@ -205,7 +205,7 @@ secret_tool_action_lookup (int argc,
service = secret_service_get_sync (SECRET_SERVICE_NONE, NULL, &error);
if (error == NULL)
- value = secret_service_lookupv_sync (service, NULL, attributes, NULL, &error);
+ value = secret_service_lookup_sync (service, NULL, attributes, NULL, &error);
g_object_unref (service);
g_hash_table_unref (attributes);
@@ -312,7 +312,7 @@ secret_tool_action_store (int argc,
else
value = read_password_stdin ();
- secret_service_storev_sync (service, NULL, attributes, collection, store_label, value, NULL, &error);
+ secret_service_store_sync (service, NULL, attributes, collection, store_label, value, NULL, &error);
secret_value_unref (value);
}