css: Add _gtk_style_property_get_id()
This commit is contained in:
parent
f6cf447cad
commit
eb38591c91
@ -2444,6 +2444,14 @@ _gtk_style_property_is_inherit (const GtkStyleProperty *property)
|
||||
return property->flags & GTK_STYLE_PROPERTY_INHERIT ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
guint
|
||||
_gtk_style_property_get_id (const GtkStyleProperty *property)
|
||||
{
|
||||
g_return_val_if_fail (property != NULL, FALSE);
|
||||
|
||||
return property->id;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
resolve_color (GtkStyleProperties *props,
|
||||
GValue *value)
|
||||
|
@ -76,6 +76,7 @@ void _gtk_style_property_register (GParamSpec
|
||||
GtkStyleUnsetFunc unset_func);
|
||||
|
||||
gboolean _gtk_style_property_is_inherit (const GtkStyleProperty *property);
|
||||
guint _gtk_style_property_get_id (const GtkStyleProperty *property);
|
||||
|
||||
void _gtk_style_property_default_value (const GtkStyleProperty *property,
|
||||
GtkStyleProperties *properties,
|
||||
|
Loading…
Reference in New Issue
Block a user