From: Pierre-Luc Beaudoin Date: Thu, 30 Jul 2009 23:13:26 +0000 (-0400) Subject: Fix markup in Clutter 1.0 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f20b4f528bbde1f22e0b09fe34901183fb735ff4;p=libchamplain Fix markup in Clutter 1.0 The markup property has to be set after the text for it to work --- 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)