[recipes] Change the portal option to handle_token
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Change the portal option to handle_token
- Date: Fri, 7 Jul 2017 16:31:36 +0000 (UTC)
commit 0d2416b12f13d1f38360cdac4659f252c8000c88
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 7 12:28:23 2017 -0400
Change the portal option to handle_token
This is the name that we ended up using in xdg-desktop-portal.
src/gr-account.c | 2 +-
src/gr-mail.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gr-account.c b/src/gr-account.c
index 45ac2e4..ac8218a 100644
--- a/src/gr-account.c
+++ b/src/gr-account.c
@@ -158,7 +158,7 @@ window_handle_exported (GtkWindow *window,
user_data, NULL);
g_variant_builder_init (&opt_builder, G_VARIANT_TYPE ("a{sv}"));
- g_variant_builder_add (&opt_builder, "{sv}", "token", g_variant_new_string (token));
+ g_variant_builder_add (&opt_builder, "{sv}", "handle_token", g_variant_new_string (token));
g_variant_builder_add (&opt_builder, "{sv}", "reason", g_variant_new_string (_("Allow your personal
information to be included with recipes you share with your friends.")));
ret = g_dbus_connection_call_sync (cbdata->connection,
diff --git a/src/gr-mail.c b/src/gr-mail.c
index 57e31c1..10c7b34 100644
--- a/src/gr-mail.c
+++ b/src/gr-mail.c
@@ -251,7 +251,7 @@ window_handle_exported (GtkWindow *window,
md, NULL);
g_variant_builder_init (&opt_builder, G_VARIANT_TYPE ("a{sv}"));
- g_variant_builder_add (&opt_builder, "{sv}", "token", g_variant_new_string (token));
+ g_variant_builder_add (&opt_builder, "{sv}", "handle_token", g_variant_new_string (token));
g_variant_builder_add (&opt_builder, "{sv}", "address", g_variant_new_string (md->address));
g_variant_builder_add (&opt_builder, "{sv}", "subject", g_variant_new_string (md->subject));
g_variant_builder_add (&opt_builder, "{sv}", "body", g_variant_new_string (md->body));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]