From 9f6ec5b7d4cde4895c37585a220c25de6b05c909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 14 Apr 2020 11:11:23 +0200 Subject: [PATCH] label: Don't create an unnecessary attribute list --- gtk/gtklabel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 9b75acfc04..4bf1e685ae 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -2848,8 +2848,6 @@ gtk_label_update_layout_attributes (GtkLabel *self, pango_attr_list_unref (link_attrs); } } - else if (self->markup_attrs && self->attrs) - attrs = pango_attr_list_new (); else attrs = NULL;