summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 01:56:48 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 01:56:48 (EDT)
commitf06b54edd30654314be66007eefd985a11781ef4 (patch)
treebe7b9bdf4f12e43b0cfce0bb33b827258e062d0f /src
parenta88de0922f64982eb68b400acdb4b228a17c8f71 (diff)
downloadmarquee-f06b54edd30654314be66007eefd985a11781ef4.zip
marquee-f06b54edd30654314be66007eefd985a11781ef4.tar.gz
marquee-f06b54edd30654314be66007eefd985a11781ef4.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/web-view.c2
1 files changed, 1 insertions, 1 deletions
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;
};