ui: Adapt to GtkStyleContext changes
Since GTK+ commit 3a337156d11a86c7, save()/restore() may only be used for subelements; in this particular case, the change broke the backdrop state in decorations. Luckily we don't actually need the save()/restore() pair anyway, as we only touch the context's state and always set it explicitly.
This commit is contained in:
parent
4b2b431700
commit
af00ca534a
@ -3231,7 +3231,6 @@ meta_draw_op_draw_with_env (const MetaDrawOp *op,
|
||||
GdkRGBA color;
|
||||
|
||||
cairo_save (cr);
|
||||
gtk_style_context_save (style_gtk);
|
||||
|
||||
cairo_set_line_width (cr, 1.0);
|
||||
|
||||
@ -3655,7 +3654,6 @@ meta_draw_op_draw_with_env (const MetaDrawOp *op,
|
||||
}
|
||||
|
||||
cairo_restore (cr);
|
||||
gtk_style_context_restore (style_gtk);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user