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:
@ -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 == >K_CSS_SELECTOR_NAME; selector = gtk_css_selector_previous (selector))
|
||||
state |= GPOINTER_TO_UINT (selector->data);
|
||||
|
||||
return state;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user