[epiphany/mcatanzaro/even-more-password-cleanups: 2/4] embed-shell: Fix g_steal_pointer snafu



commit 99aa55c1a7dcff3a041751e7e8067d0af0e7c744
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]