[epiphany/mcatanzaro/even-more-password-cleanups: 4/6] embed-shell: Fix g_steal_pointer snafu
- From: Jan-Michael Brummer <jbrummer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/even-more-password-cleanups: 4/6] embed-shell: Fix g_steal_pointer snafu
- Date: Mon, 29 Apr 2019 20:11:44 +0000 (UTC)
commit de3f830f13f60202c25e7e9e94f889cfc6025572
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sun Apr 28 17:21:20 2019 -0500
embed-shell: Fix g_steal_pointer snafu
We're failing to pass the origin on to ephy_password_manager_query().
Oops.
embed/ephy-embed-shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 3089a77f6..064e0605e 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -424,7 +424,7 @@ web_extension_password_manager_query_received_cb (WebKitUserContentManager *mana
data->shell = g_object_ref (shell);
data->promise_id = promise_id;
data->page_id = page_id;
- data->origin = g_steal_pointer (&origin);
+ data->origin = g_strdup (origin);
ephy_password_manager_query (priv->password_manager,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]