flatpak/shared-modules/gtk2/murrine-engine-fix-crash.patch
2024-03-07 20:28:57 -03:00

12 lines
549 B
Diff

Index: gtk2-engines-murrine-0.98.2/src/murrine_style.c
===================================================================
--- gtk2-engines-murrine-0.98.2.orig/src/murrine_style.c
+++ gtk2-engines-murrine-0.98.2/src/murrine_style.c
@@ -2171,6 +2171,7 @@ murrine_style_draw_layout (GtkStyle
cairo_t *cr;
cr = murrine_begin_paint (window, area);
cairo_translate (cr, x+xos, y+yos);
+ pango_cairo_update_layout (cr, layout);
pango_cairo_layout_path (cr, layout);
murrine_set_color_rgba (cr, &temp, 0.5);
cairo_stroke (cr);