forked from AuroraMiddleware/gtk
label: Remove a dead assignment
It may have quieted gcc at some point, but it upsets clang nowadays. Remove it.
This commit is contained in:
parent
e9cf8c6cc7
commit
be1a60d5d0
@ -3977,7 +3977,6 @@ gtk_label_ensure_layout (GtkLabel *self)
|
||||
if (self->layout)
|
||||
return;
|
||||
|
||||
align = PANGO_ALIGN_LEFT; /* Quiet gcc */
|
||||
rtl = _gtk_widget_get_direction (GTK_WIDGET (self)) == GTK_TEXT_DIR_RTL;
|
||||
self->layout = gtk_widget_create_pango_layout (GTK_WIDGET (self), self->text);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user