Remove ::state-hint use

This use of the property was overlooked when it was removed.
We now always behave as if state-hint == TRUE.
This commit is contained in:
Matthias Clasen 2010-09-02 08:56:20 -04:00
parent 55d5d3679e
commit ece148eec0

View File

@ -787,15 +787,10 @@ gtk_spin_button_expose (GtkWidget *widget,
if (shadow_type != GTK_SHADOW_NONE)
{
gint width, height;
gboolean state_hint;
GtkStateType state;
gtk_widget_style_get (widget, "state-hint", &state_hint, NULL);
if (state_hint)
state = gtk_widget_has_focus (widget) ?
GTK_STATE_ACTIVE : gtk_widget_get_state (widget);
else
state = GTK_STATE_NORMAL;
state = gtk_widget_has_focus (widget) ?
GTK_STATE_ACTIVE : gtk_widget_get_state (widget);
gdk_drawable_get_size (priv->panel, &width, &height);