[epiphany] ephy-embed-shell: Use url char pointer for g_variant_new()



commit a48066bed1e3c03af08b4793bec71d696bfb1857
Author: Yetizone <andreii lisita gmail com>
Date:   Fri Jul 3 18:47:56 2020 +0300

    ephy-embed-shell: Use url char pointer for g_variant_new()
    
    Fixes https://gitlab.gnome.org/GNOME/epiphany/-/issues/1252

 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 293a7f2f1..bdcfae349 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -496,7 +496,7 @@ history_service_url_deleted_cb (EphyHistoryService *service,
 
   webkit_web_context_send_message_to_all_extensions (priv->web_context,
                                                      webkit_user_message_new ("History.DeleteURL",
-                                                                              g_variant_new ("s", url)));
+                                                                              g_variant_new ("s", 
url->url)));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]