[gnome-todo] animation: Remove reminiscent step mode stuff



commit f7c4931e5b4768d405e2e9ec5b874cddcf1b24d0
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Mar 6 21:05:11 2021 -0300

    animation: Remove reminiscent step mode stuff
    
    It doesn't exist anymore.

 src/animation/gtd-animation-enums.h | 19 -------------------
 src/animation/gtd-timeline.c        |  8 --------
 2 files changed, 27 deletions(-)
---
diff --git a/src/animation/gtd-animation-enums.h b/src/animation/gtd-animation-enums.h
index 5b28fa5b..ed26f8ea 100644
--- a/src/animation/gtd-animation-enums.h
+++ b/src/animation/gtd-animation-enums.h
@@ -170,23 +170,4 @@ typedef enum
   GTD_TIMELINE_BACKWARD
 } GtdTimelineDirection;
 
-/**
- * GtdStepMode:
- * @GTD_STEP_MODE_START: The change in the value of a
- *   %GTD_STEP progress mode should occur at the start of
- *   the transition
- * @GTD_STEP_MODE_END: The change in the value of a
- *   %GTD_STEP progress mode should occur at the end of
- *   the transition
- *
- * Change the value transition of a step function.
- *
- * See gtd_timeline_set_step_progress().
- */
-typedef enum
-{
-  GTD_STEP_MODE_START,
-  GTD_STEP_MODE_END
-} GtdStepMode;
-
 G_END_DECLS
diff --git a/src/animation/gtd-timeline.c b/src/animation/gtd-timeline.c
index c63c7aa8..707cb15e 100644
--- a/src/animation/gtd-timeline.c
+++ b/src/animation/gtd-timeline.c
@@ -119,10 +119,6 @@ typedef struct
   GDestroyNotify progress_notify;
   GtdEaseMode progress_mode;
 
-  /* step() parameters */
-  gint n_steps;
-  GtdStepMode step_mode;
-
   guint is_playing         : 1;
 
   /* If we've just started playing and haven't yet gotten
@@ -948,10 +944,6 @@ gtd_timeline_init (GtdTimeline *self)
   GtdTimelinePrivate *priv = gtd_timeline_get_instance_private (self);
 
   priv->progress_mode = GTD_EASE_LINEAR;
-
-  /* default steps() parameters are 1, end */
-  priv->n_steps = 1;
-  priv->step_mode = GTD_STEP_MODE_END;
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]