| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is just lots of renaming.
The interface remains private, so the public API does not change, apart
from removing the definition of the Interface object to avoid
subclassing.
|
| |
|
|
|
|
|
| |
My previous patch on this file did not take into the account of the
formatting, sorry!
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously a style cascade's parent could not have a parent itself. That
represented the two levels at which you could add a style provider: at
the screen level, with gtk_style_context_add_provider_for_screen(), and
at the style context level, with gtk_style_context_add_provider().
This commit changes no functionality, but this change will be necessary
for adding style providers in the future that apply to a subtree of the
widget tree. It relaxes the requirement that a style cascade's parent
must not have a parent, since in the future a style context may be
affected by any number of parent widgets' style contexts.
https://bugzilla.gnome.org/show_bug.cgi?id=751409
|
| |
|
|
|
|
|
| |
This lets us use inlined getters for members in there,
avoiding the type checks in the public getters.
|
|
|
|
|
|
| |
This way, we can remove it as a separate argument from
gtk_css_value_compute() and allow computation to only depend on one
thing: the style provider.
|
|
|
|
| |
This is in preparation for the next commits.
|
| |
|
|
|
|
| |
Inline it.
|
|
|
|
|
|
|
|
| |
This ensures that the initialization for the CSS theme happens when the
style cascade gets queried.
https://bugzilla.redhat.com/show_bug.cgi?id=1064922
https://bugzilla.mozilla.org/show_bug.cgi?id=972382
|
|
|
|
|
|
|
|
| |
This gives a GtkSettings object for resolving system-dependant things -
like the default font family and font size.
No code does this yet, but we have an API.
Only GtkSettings implements this.
|
|
|
|
|
|
|
| |
Make _gtk_style_provider_private_get_color() return a GtkCssValue (a
GtkCssColorValue to be exact) instead of GtkSymbolicColor.
With this, the symbolic color usage inside GTK is minimized.
|
|
|
|
|
| |
The implementations were broken and get_style() is deprecated and
documented to return NULL now.
|
|
|
|
| |
It was redundant.
|
|
|
|
| |
GtkStyleCascade is entirely private, so don't leak any symbols.
|
| |
|
|
|
|
| |
... and listen to it in the cases where they use other style providers.
|
|
|
|
| |
This way we can check what changes are even interesting for our matcher.
|
| |
|
|
This way, we don't have to do magic inside GtkStyleContext, but have a
real API.
As a cute bonus, this object implements GtkStyleProvider itself. So we
can just pretend there's only one provider.
|