summaryrefslogtreecommitdiff
path: root/gtk/gtkcsstransitionprivate.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-05-06 11:37:51 +0200
committerTimm Bäder <mail@baedert.org>2020-05-10 08:44:20 +0200
commite12c9de5dfd5b9ed0098650c516f4fed1653f423 (patch)
tree96e6fcd22ee88ed455fdcbc1d021af3fc21bda56 /gtk/gtkcsstransitionprivate.h
parentf38bbb9bc28420df20b7bc217f86a86cd7e5e9fe (diff)
downloadgtk+-e12c9de5dfd5b9ed0098650c516f4fed1653f423.tar.gz
csstransiton: Save finished state
Once a transtion is finished it can't change to unfinished again, so we don't have to consult the progress tracker all the time.
Diffstat (limited to 'gtk/gtkcsstransitionprivate.h')
-rw-r--r--gtk/gtkcsstransitionprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcsstransitionprivate.h b/gtk/gtkcsstransitionprivate.h
index 822a8246d9..6f722023a1 100644
--- a/gtk/gtkcsstransitionprivate.h
+++ b/gtk/gtkcsstransitionprivate.h
@@ -43,6 +43,7 @@ struct _GtkCssTransition
GtkCssValue *start;
GtkCssValue *ease;
GtkProgressTracker tracker;
+ guint finished;
};
struct _GtkCssTransitionClass