Revert part of commit e7b18d3a88
Allow markup to be set via textbox flags.
This commit is contained in:
@@ -140,7 +140,7 @@ static void __textbox_update_pango_text ( textbox *tb )
|
|||||||
pango_layout_set_attributes ( tb->layout, NULL );
|
pango_layout_set_attributes ( tb->layout, NULL );
|
||||||
pango_layout_set_text ( tb->layout, string, l );
|
pango_layout_set_text ( tb->layout, string, l );
|
||||||
}
|
}
|
||||||
else if ( tb->tbft & MARKUP ) {
|
else if ( tb->flags & TB_MARKUP || tb->tbft & MARKUP ) {
|
||||||
pango_layout_set_markup ( tb->layout, tb->text, -1 );
|
pango_layout_set_markup ( tb->layout, tb->text, -1 );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user