Commit 4ecf2e57 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko Committed by Adrien Plazas
Browse files

leaflet: Remove visible child workaround

Looks like it's not needed after Librem5/libhandy!339

Signed-off-by: Alexander Mikhaylenko's avatarAlexander Mikhaylenko <>
parent e221dcc3
......@@ -2871,14 +2871,6 @@ hdy_leaflet_draw (GtkWidget *widget,
/* We don't use propagate_draw here, because we don't want to apply
* the bin_window offset
/* FIXME Dirty workaround to get the last visible child to be drawn.
* Please fix it properly.
* */
gtk_widget_size_allocate (priv->last_visible_child->widget,
gtk_widget_set_child_visible (priv->last_visible_child->widget, TRUE);
gtk_widget_draw (priv->last_visible_child->widget, pattern_cr);
cairo_destroy (pattern_cr);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment