forked from AuroraMiddleware/gtk
csstransform: Fix comparisons crashing
Transforms of different type are not equal.
This commit is contained in:
parent
d23f3254b7
commit
631688cf64
@ -328,6 +328,9 @@ static gboolean
|
||||
gtk_css_transform_equal (const GtkCssTransform *transform1,
|
||||
const GtkCssTransform *transform2)
|
||||
{
|
||||
if (transform1->type != transform2->type)
|
||||
return FALSE;
|
||||
|
||||
switch (transform1->type)
|
||||
{
|
||||
case GTK_CSS_TRANSFORM_MATRIX:
|
||||
|
Loading…
Reference in New Issue
Block a user