From f06b54edd30654314be66007eefd985a11781ef4 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 12 Oct 2017 01:56:48 -0400 Subject: MqWebView: Make uri member non-const mq_web_view_load_uri() and the WebKitWebView "notify::uri" callback copy strings to it, so it need not be const. We're also now freeing it when copying to it. --- (limited to 'src') diff --git a/src/web-view.c b/src/web-view.c index a5f9f85..11d8009 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -32,7 +32,7 @@ struct _MqWebView { WebKitWebView parent_instance; MqTab *tab; - const gchar *uri; + gchar *uri; WebKitHitTestResult *hit_test_result; WebKitHitTestResult *mouse_target_hit_test_result; }; -- cgit v0.9.1