| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Sometimes path nodes can survive longer than the style context that
created them. Don't crash in those cases.
Fixes startup of mutter.
Testcase included.
https://bugzilla.gnome.org/show_bug.cgi?id=746407
|
|
|
|
|
| |
... and hardcode transient and path nodes to never create animated
styles.
|
|
|
|
|
|
| |
Instead of always returning a provider, allow the vfunc to return NULL
to mane "use same provider as parent". This allows a bunch of
optimizations.
|
|
|
|
|
| |
Don't call gtk_style_context_invalidate(), that function does too much
work.
|
| |
|
|
|
|
|
| |
... the WidgetPath. This uses the functionality introduced in the
previous commits.
|
|
|
|
|
|
| |
Have a queue_validate() vfunc and a dequeue_validate() vfunc that are
called only on root nodes so they can queue a validation on their frame
clocks.
|
|
|
|
| |
Makes it clearer what actually happens in that function.
|
|
|
|
|
|
| |
When the style is invalid, redo it.
Make this a vfunc, so the widget nodes can opt out.
|
|
|
|
| |
... and use it when looking up properties.
|
|
|
|
| |
Remove it from GtkStyleContext.
|
|
|
|
|
| |
Handle invalidation of node inside the CssNode code, don't do it in the
stylecontext.
|
|
|
|
| |
Move that functionality into GtkCssNode.
|
|
- GtkCssWidgetNode
for style contexts owned by a widget
- GtkCssPathNode
for style contexts using a GtkWidgetPath
- GtkCssTransientNode
for nodes created with gtk_style_context_save()/restore()
|