styleprovider: Remove (broken) implementations of get_style

The implementations were broken and get_style() is deprecated and
documented to return NULL now.
This commit is contained in:
Benjamin Otte
2012-11-24 21:08:11 +01:00
parent 324ff12553
commit 932794e105
7 changed files with 0 additions and 124 deletions

View File

@ -1159,16 +1159,3 @@ _gtk_css_selector_compare (const GtkCssSelector *a,
return a_elements - b_elements;
}
GtkStateFlags
_gtk_css_selector_get_state_flags (const GtkCssSelector *selector)
{
GtkStateFlags state = 0;
g_return_val_if_fail (selector != NULL, 0);
for (; selector && selector->class == &GTK_CSS_SELECTOR_NAME; selector = gtk_css_selector_previous (selector))
state |= GPOINTER_TO_UINT (selector->data);
return state;
}