summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 01:00:58 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 01:00:58 (EDT)
commit8187636777928087f0042e409dfbf51bc98ac1e3 (patch)
tree85c023213f838066be616d9f219e0db1393c6ea7 /src
parent074fc5a66cb9f93f00535fe6dce4542d0a4e9dc2 (diff)
downloadmarquee-8187636777928087f0042e409dfbf51bc98ac1e3.zip
marquee-8187636777928087f0042e409dfbf51bc98ac1e3.tar.gz
marquee-8187636777928087f0042e409dfbf51bc98ac1e3.tar.bz2
MqWebView: Don't set "uri" property during construction
Setting the "uri" property now calls mq_web_view_load_uri(), which calls webkit_web_view_load_uri(). This causes a segmentation fault if the WebKitWebView's constructed method hasn't been called yet.
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 c3eb483..47324f5 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -631,7 +631,7 @@ mq_web_view_class_init(MqWebViewClass *klass)
obj_properties[PROP_URI] = g_param_spec_string(
"uri", "URI", "URI to load",
"",
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
+ G_PARAM_READWRITE |
G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB);
g_object_class_install_properties(object_class, N_PROPERTIES,
obj_properties);