static void mex_search_text_style_changed (MxStylable *text, GParamSpec *pspec, MxStylable *header) { /* ensure the text entry and header pseudo class match for styling purposes */ mx_stylable_set_style_pseudo_class (header, mx_stylable_get_style_pseudo_class (text)); }
static void mx_expander_style_changed (MxStylable *stylable) { MxExpander *expander = MX_EXPANDER (stylable); MxExpanderPrivate *priv = expander->priv; const gchar *pseudo_class; pseudo_class = mx_stylable_get_style_pseudo_class (stylable); mx_stylable_set_style_pseudo_class (MX_STYLABLE (expander->priv->arrow), pseudo_class); mx_stylable_apply_clutter_text_attributes (stylable, CLUTTER_TEXT (priv->label)); }