[libgnome-keyring] Pass an empty window_id to Prompt().
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgnome-keyring] Pass an empty window_id to Prompt().
- Date: Fri, 11 Dec 2009 01:35:48 +0000 (UTC)
commit 842d31012892d863989f40fd78badfbbe30fc107
Author: Stef Walter <stef memberwebs com>
Date: Thu Dec 10 22:08:28 2009 +0000
Pass an empty window_id to Prompt().
library/gkr-operation.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/library/gkr-operation.c b/library/gkr-operation.c
index 7b9f4e7..ac45a52 100644
--- a/library/gkr-operation.c
+++ b/library/gkr-operation.c
@@ -442,6 +442,7 @@ gkr_operation_prompt (GkrOperation *op, const gchar *prompt)
{
on_prompt_args *args;
DBusMessage *req;
+ const char *window_id;
g_return_if_fail (prompt);
g_assert (op);
@@ -461,6 +462,9 @@ gkr_operation_prompt (GkrOperation *op, const gchar *prompt)
req = dbus_message_new_method_call (SECRETS_SERVICE, prompt,
PROMPT_INTERFACE, "Prompt");
+ window_id = "";
+ dbus_message_append_args (req, DBUS_TYPE_STRING, &window_id, DBUS_TYPE_INVALID);
+
gkr_operation_push (op, on_prompt_result, GKR_CALLBACK_OP_MSG, args, on_prompt_free);
gkr_operation_request (op, req);
dbus_message_unref (req);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]