From 7cc9a29c1aed8039acff6830b9e5e44997afa61c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 22 Oct 2017 16:57:22 -0400 Subject: MqTabPage: Duplicate URI property to fix URI loading --- (limited to 'src') diff --git a/src/tab-page.c b/src/tab-page.c index 19f1e2b..76fdd78 100644 --- a/src/tab-page.c +++ b/src/tab-page.c @@ -264,7 +264,7 @@ set_property(GObject *object, guint property_id, const GValue *value, tab_page->window = g_value_get_pointer(value); break; case PROP_URI: - tab_page->uri = g_value_get_string(value); + tab_page->uri = g_strdup(g_value_get_string(value)); break; case PROP_SOURCE: tab_page->source = g_value_get_object(value); -- cgit v0.9.1