Skip to content
Commit a6d7dc23 authored by Florian Müllner's avatar Florian Müllner
Browse files

chatView: Guard calls to gtk_style_context_get_color()

Commit fe51ac273c8 changed the fallback behavior when the looked up
state mismatches the actual state; as a result, the lookup may now
trigger the GtkStyleContext::changed signal - and as we happen to do
the lookup from a ::changed handler, we set off infinite recursion
with the expected fatal consequences.
Prevent this by guarding the lookup with a save()/restore() pair.
parent d465a54c
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