Add a getter for the adjustment animation duration

This commit is contained in:
Matthias Clasen
2014-07-13 22:00:30 -04:00
parent d35f664b1a
commit 7086080b03
2 changed files with 7 additions and 0 deletions

View File

@ -1011,3 +1011,9 @@ gtk_adjustment_enable_animation (GtkAdjustment *adjustment,
priv->duration = duration;
}
void
gtk_adjustment_get_animation_duration (GtkAdjustment *adjustment)
{
return adjustment->priv->duration;
}