From 8187636777928087f0042e409dfbf51bc98ac1e3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 12 Oct 2017 01:00:58 -0400 Subject: 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. --- (limited to 'src') 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); -- cgit v0.9.1