Benjamin Otte
da25771e58
cssvalue: Remove GtkCssDependencies
...
They are not used anymore.
2015-03-18 15:23:31 +01:00
Benjamin Otte
1116914ea0
css: Move scale to GtkStyleProviderPrivate
...
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.
2015-02-06 11:26:31 +01:00
Benjamin Otte
572f46067f
cssstyle: Rename GtkCssComputedValues => GtkCssStyle
...
This is literally just renaming of the object (and the associated source
files). No other changes are in there.
2015-01-07 14:26:46 +01:00
Matthias Clasen
d55e3b25a7
Fix various compiler warnings
...
Mostly missing declarations and missing statics.
2014-09-05 21:21:49 -04:00
Benjamin Otte
43788ba936
cssimageicontheme: Handle scale factors correctly
...
Code didn't account for the pixbuf returned being scaled.
2014-07-02 19:48:44 +02:00
Matthias Clasen
d143919527
GtkCssImageIconName: Plug a memory leak
...
valgrind was complaining that we're not freeing the icon_name.
2014-06-28 22:39:02 -04:00
Benjamin Otte
271ef198bf
cssimage: Implement symbolic coloring for -gtk-icontheme()
2014-05-16 04:13:39 +02:00
Benjamin Otte
633ec8184d
css: Add support for -gtk-icontheme("icon-name")
...
This allows using icons from the icontheme as images in CSS. The
reasoning is that this allows to give the image control about how it's
scaled (by using the icon theme's scaling method. So we can get crisp
images at different resolutions.
2014-05-14 04:28:33 +02:00