[gtk/wip/baedert/gl-rework: 11/11] transform: Compare class before ->next
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/gl-rework: 11/11] transform: Compare class before ->next
- Date: Wed, 1 Jan 2020 18:06:51 +0000 (UTC)
commit 608f9319fc0894a5f8b21a0cae153b1f2f123bf8
Author: Timm Bäder <mail baedert org>
Date: Tue Dec 31 14:03:42 2019 +0100
transform: Compare class before ->next
gsk/gsktransform.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gsktransform.c b/gsk/gsktransform.c
index 1e6f87f8fa..60f1f4a22f 100644
--- a/gsk/gsktransform.c
+++ b/gsk/gsktransform.c
@@ -1664,10 +1664,10 @@ gsk_transform_equal (GskTransform *first,
if (first == NULL || second == NULL)
return FALSE;
- if (!gsk_transform_equal (first->next, second->next))
+ if (first->transform_class != second->transform_class)
return FALSE;
- if (first->transform_class != second->transform_class)
+ if (!gsk_transform_equal (first->next, second->next))
return FALSE;
return first->transform_class->equal (first, second);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]