GtkSwitch: Also animate for keyboard activation

This commit is contained in:
Matthias Clasen 2014-08-04 13:56:39 +02:00
parent 45145c8c10
commit 8820c46ff0

View File

@ -363,9 +363,7 @@ gtk_switch_leave (GtkWidget *widget,
static void
gtk_switch_activate (GtkSwitch *sw)
{
GtkSwitchPrivate *priv = sw->priv;
gtk_switch_set_active (sw, !priv->is_active);
gtk_switch_begin_toggle_animation (sw);
}
static void