GktAdjustment: Add explicit api for animated setting

Making all set_value calls animated has side-effects, so
we need to be more selective.
This commit is contained in:
Matthias Clasen
2014-07-02 17:55:20 -04:00
parent d3b34d3cf2
commit 36453a8a6b
2 changed files with 70 additions and 52 deletions

View File

@ -27,6 +27,8 @@ G_BEGIN_DECLS
void gtk_adjustment_enable_animation (GtkAdjustment *adjustment,
GdkFrameClock *clock,
guint duration);
void gtk_adjustment_animate_to_value (GtkAdjustment *adjustment,
gdouble value);
G_END_DECLS