css: Add _gtk_style_property_get_count()

This commit is contained in:
Benjamin Otte 2011-12-23 14:30:59 +01:00
parent 54d2b9dbc2
commit cdb3f05bf1
2 changed files with 8 additions and 0 deletions

View File

@ -2241,6 +2241,12 @@ border_color_default_value (GtkStyleProperties *props,
/*** API ***/
guint
_gtk_style_property_get_count (void)
{
return __n_style_properties;
}
static void
css_string_funcs_init (void)
{

View File

@ -63,6 +63,8 @@ struct _GtkStyleProperty
GtkStyleUnsetFunc unset_func;
};
guint _gtk_style_property_get_count (void);
const GtkStyleProperty * _gtk_style_property_lookup (const char *name);
void _gtk_style_property_register (GParamSpec *pspec,