summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYetizone <andreii.lisita@gmail.com>2020-07-03 15:47:56 +0000
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-07-03 18:16:37 +0000
commit6ce6135a86ac9d896a08ce340c35ee5f1be61450 (patch)
treea11a132d2f238dc268949814fdede2b80a57ef89
parent5bb417b790ae095efad19d64a35103b505a4d125 (diff)
downloadepiphany-6ce6135a86ac9d896a08ce340c35ee5f1be61450.tar.gz
ephy-embed-shell: Use url char pointer for g_variant_new()
Fixes https://gitlab.gnome.org/GNOME/epiphany/-/issues/1252 (cherry picked from commit a48066bed1e3c03af08b4793bec71d696bfb1857)
-rw-r--r--embed/ephy-embed-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 9b4c1f712..51a90038d 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -490,7 +490,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