cssdimensionvalue: remove early-out code from transition()

We do this directly in gtk_css_value_transition() now
This commit is contained in:
Timm Bäder 2020-01-15 09:57:11 +01:00
parent 3091679ffa
commit 8c98fd2e46

View File

@ -249,15 +249,6 @@ gtk_css_value_dimension_transition (GtkCssValue *start,
guint property_id,
double progress)
{
if (progress == 0)
return _gtk_css_value_ref (start);
if (progress == 1)
return _gtk_css_value_ref (end);
if (start == end)
return _gtk_css_value_ref (start);
if (start->unit != end->unit)
return NULL;