forked from AuroraMiddleware/gtk
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:
parent
55d5d3679e
commit
ece148eec0
@ -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;
|
||||
|
||||
gdk_drawable_get_size (priv->panel, &width, &height);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user