Timm Bäder
2c9bbb9a71
GtkCssStyleChange: Only print values that really changed
2017-10-12 15:42:03 +02:00
Timm Bäder
3b44a88ddb
cssstylechange: Fix change printing
...
Only print the old value once, above the new one.
2017-07-22 19:36:05 +02:00
Timm Bäder
d3a0dfe81a
cssstylechange: Add helper function to print change
...
So I don't have to print both styles to the console, paste them both
into a file and then run diff on the 2 files anymore.
2016-02-07 19:16:26 +01:00
Benjamin Otte
6e6cbd7316
stylechange: Do the right thing when old and new style are equal
...
We don't need to compare all their CSS values to figure out that nothing
changed. We know that.
2016-01-16 23:58:37 +01:00
Benjamin Otte
5cbbc62026
widget: Pass a GtkCssStyleChange instead of a bitmask
2015-12-13 04:11:58 +01:00
Benjamin Otte
971a277419
cssnode: Change style-changed signal
...
Instead of having old and new style, now have a GtkCssStyleChange opaque
object that will compute the changes you are interested in for you.
This simplifies change signal handlers quite a bit and avoids lots of
repeated computation in every signal handler.
2015-12-12 02:16:04 +01:00