summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pango-layout.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 3c138327..b07c8487 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -689,11 +689,6 @@ pango_layout_set_attributes (PangoLayout *layout,
if (!attrs && !layout->attrs)
return;
- /* Also both empty */
- if (!_pango_attr_list_has_attributes (layout->attrs) &&
- !_pango_attr_list_has_attributes (attrs))
- return;
-
if (layout->attrs &&
pango_attr_list_equal (layout->attrs, attrs))
return;