summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproperty.c
Commit message (Collapse)AuthorAgeFilesLines
* Add some missing nullable return annotationsSophie Herold2020-10-171-1/+1
|
* css: Move _gtk_css_print_string aroundMatthias Clasen2020-10-021-1/+3
| | | | | | Move this to a separate header, since it is not parser functionality, and kill the duplicate gtkcssparserprivate.h header.
* Fix minor typosYuri Chornoivan2020-05-281-1/+1
|
* styleproperty: Remove ability to query propertiesBenjamin Otte2020-01-281-63/+1
| | | | With gtk_style_context_get() gone, this is no longer used.
* Drop unused gtkcssstylefuncs.cMatthias Clasen2017-11-301-1/+0
| | | | | Clean up all the places where the header was still included needlessly.
* Drop the aliasing api for style propertiesMatthias Clasen2017-09-171-20/+0
| | | | | This was added to deprecate style properties. All deprecated style properties are gone now, so this is no longer needed.
* API: Remove API to set CSS properties from GValuesBenjamin Otte2016-10-161-34/+2
| | | | | | | This API was only used in GtkModifierStyle and GtkStyleProperties and they are both on their way out. CSS properties must now be set using strings via the regular parser API.
* Add some missing (nullable) annotationsRico Tzschichholz2016-09-221-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=771826
* Add a way to add aliases for css propertiesMatthias Clasen2015-11-201-0/+20
| | | | | This will be used to rename some properties in a more systematic way without breaking all users of the old name.
* Use stupid quotes instead of dumb quotesMatthias Clasen2015-09-231-1/+1
| | | | | | Following a similar change in GLib a while ago. 'bla' may by stupid, but it looks less dumb than `bla'.
* Do not return on void functionsIgnacio Casal Quinteiro2015-02-191-1/+1
|
* styleproperties: DeprecateBenjamin Otte2014-10-241-0/+2
|
* styleproperties: Remove header where it's not usedBenjamin Otte2014-10-241-1/+0
|
* styleproperty: Remove base argumentBenjamin Otte2012-05-111-4/+2
| | | | | from _gtk_style_property_parse_value(). The GtkCssParser takes care of that now.
* styleproperty: Make _gtk_style_property_parse_value() return a CssValueBenjamin Otte2012-04-171-10/+7
| | | | Also split out initial/inherit handling into a custom GtkCssValue class.
* styleproperty: Make _gtk_style_property_query() take a GValueBenjamin Otte2012-04-171-4/+6
| | | | | ... and don't make it return a GtkCssValue. We want to use this for compat with the old GValue APIs after all...
* css: Use GtkCssValues instead of GValue in the css machineryAlexander Larsson2012-03-081-8/+4
| | | | | | Also, in places where we're computing a new CssValue based on an old one, make sure that if nothing changes we're returning a reference to the old one, rather than creating a new identical instance.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* styleproperty: Make query function take a vfuncBenjamin Otte2012-01-111-9/+9
| | | | | This way we can use different methods to query properties and aren't bound to a GtkStyleProperties object.
* styleproperty: Call style properties init function in more placesBenjamin Otte2012-01-091-3/+3
| | | | | In particular, call it when querying properties by id. This is necessary for make check to not die.
* styleproperty: Remove context arg from _gtk_style_context_query()Benjamin Otte2012-01-091-3/+1
|
* styleproperty: Move implementations to separate fileBenjamin Otte2012-01-091-634/+1
|
* styleproperty: Let parse_value() initialize the valueBenjamin Otte2012-01-091-0/+19
| | | | ... and document that behavior.
* styleproperty: Move parse funcBenjamin Otte2012-01-091-59/+0
| | | | It's specific to GtKCssStyleProperty after all.
* styleproperty: Set a default value for border-*-radiusBenjamin Otte2012-01-091-4/+8
| | | | That way, we don't have to check if it is indeed set.
* styleproperty: Remove _gtk_style_property_unpack()Benjamin Otte2012-01-091-13/+0
| | | | The function is no longer needed in public API
* styleproperty: Make parse_value() a vfuncBenjamin Otte2012-01-091-0/+21
|
* styleproperty: Move pspec to GtkCssStylePropertyBenjamin Otte2012-01-091-1/+1
| | | | shorthands don't use pspecs anymore.
* styleproperty: require property in _gtk_style_property_parse_value()Benjamin Otte2012-01-091-45/+42
| | | | Other code uses _gtk_css_style_parse_value() instead now.
* styleproperty: Make query() and assign() vfuncsBenjamin Otte2012-01-091-245/+34
| | | | ... and implement them in the 2 known subclasses.
* styleproperty: Move value printing to real propertiesBenjamin Otte2012-01-091-29/+0
| | | | | | We can't print shorthands, so don't try. In particular, I want to get away from shorthands being representable using GValue, and this function kinda requires that.
* css: Split generic parse/print functions outBenjamin Otte2012-01-091-1320/+8
| | | | | It seems to be some sort of sport for me to split them out and merge them back in...
* css: 'transparent' is a valid color everywhereBenjamin Otte2012-01-091-22/+5
|
* styleproperty: Move member variablesBenjamin Otte2012-01-091-24/+25
| | | | | These variables are only relevant for style properties, but not for shorthands, so put them there.
* css: Move a bunch of functionsBenjamin Otte2012-01-091-46/+17
| | | | ... from GtkStyleProperty to GtkCssStyleProperty.
* styleproperty: Move id handlingBenjamin Otte2012-01-091-18/+6
| | | | | only real style properties can have an id, so let GtkCssStylePropertyClass handle it.
* styleproperty: Add gtk_style_property_assign()Benjamin Otte2012-01-091-0/+41
|
* styleproperty: Add GtkStyleProperty::value-typeBenjamin Otte2012-01-091-1/+36
|
* styleproperty: unconstifyBenjamin Otte2012-01-091-25/+25
| | | | | GtkStyleProperty is a real GObject now, so treat it like one and don't use const.
* styleproperty: Remove unuse args from register()Benjamin Otte2012-01-091-108/+35
| | | | Those arguments are only relevant for shorthands.
* styleproperty: Move shorthand declarations to new fileBenjamin Otte2012-01-091-803/+3
|
* styleproperty: border image is not a generic conversion thingyBenjamin Otte2012-01-091-3/+0
|
* styleproperty: Add a name propertyBenjamin Otte2012-01-091-27/+106
| | | | | And move the properties array to GtkStylePropertyClass. Also add some docs.
* styleproperty: Get rid of _gtk_style_property_is_shorthand()Benjamin Otte2012-01-091-10/+2
| | | | Use GTK_IS_CSS_SHORTHAND_PROPERTY() instead now that we have it.
* styleproperty: Split into shorthand and real style propertiesBenjamin Otte2012-01-091-2/+7
|
* styleproperty: Make this an objectBenjamin Otte2012-01-091-1/+26
|
* styleproperty: Add _gtk_style_property_query()Benjamin Otte2012-01-091-3/+29
| | | | This way, we only need to export one function, not 3.
* css: Remove generic 'none' handlingBenjamin Otte2012-01-091-8/+0
| | | | | Includes updated tests. Who could have thought that our tests were broken. Ooops.
* styleproperty: Add custom 'none' handlingBenjamin Otte2012-01-091-1/+18
| | | | | The generic 'none' handling needs to go, because 'none' is not a valid value most of the time.
* css: Add generic support for 'inherit' and 'initial'Benjamin Otte2012-01-091-2/+27
| | | | CSS3 says they work for every property, so here we go.