From f20b4f528bbde1f22e0b09fe34901183fb735ff4 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Thu, 30 Jul 2009 19:13:26 -0400 Subject: [PATCH] Fix markup in Clutter 1.0 The markup property has to be set after the text for it to work --- champlain/champlain-marker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/champlain/champlain-marker.c b/champlain/champlain-marker.c index 712b671..bc6c518 100644 --- a/champlain/champlain-marker.c +++ b/champlain/champlain-marker.c @@ -579,7 +579,6 @@ draw_marker (ChamplainMarker *marker) } label = CLUTTER_TEXT (priv->text_actor); - clutter_text_set_use_markup (label, priv->use_markup); clutter_text_set_font_name (label, priv->font_name); clutter_text_set_text (label, priv->text); clutter_text_set_line_alignment (label, priv->alignment); @@ -587,6 +586,7 @@ draw_marker (ChamplainMarker *marker) clutter_text_set_line_wrap_mode (label, priv->wrap_mode); clutter_text_set_ellipsize (label, priv->ellipsize); clutter_text_set_attributes (label, priv->attributes); + clutter_text_set_use_markup (label, priv->use_markup); height = clutter_actor_get_height (priv->text_actor); if (priv->image != NULL) -- 2.39.5