summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-22 16:57:22 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-22 16:57:22 (EDT)
commit7cc9a29c1aed8039acff6830b9e5e44997afa61c (patch)
treec5b022960eea9fba0f9a409ccc854c0fa63b5a97
parentacbfbff1cff781e2085d601da0ef0d0a3bd42f59 (diff)
downloadmarquee-7cc9a29c1aed8039acff6830b9e5e44997afa61c.zip
marquee-7cc9a29c1aed8039acff6830b9e5e44997afa61c.tar.gz
marquee-7cc9a29c1aed8039acff6830b9e5e44997afa61c.tar.bz2
MqTabPage: Duplicate URI property to fix URI loading
-rw-r--r--src/tab-page.c2
1 files changed, 1 insertions, 1 deletions
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);