stylecontext: Only create transitions conditionally
While regular animations should always be created, transitions should not. This patch allows to express this by passing NULL as the values to transition from. It also adds a gtk_style_context_should_create_transitions() function that returns TRUE when transitions should be created.
Showing with 24 additions and 2 deletions