[aravis/dom] gc_integer_node, gc_float_node: fix inverted minimum and maximum.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis/dom] gc_integer_node, gc_float_node: fix inverted minimum and maximum.
- Date: Fri, 2 Mar 2012 14:29:25 +0000 (UTC)
commit 13b8e4f83586d2246b4fac4be30889ae380f467a
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Fri Mar 2 15:28:48 2012 +0100
gc_integer_node, gc_float_node: fix inverted minimum and maximum.
src/arvgcfloatnode.c | 4 ++--
src/arvgcintegernode.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/arvgcfloatnode.c b/src/arvgcfloatnode.c
index 8a7c816..19c3919 100644
--- a/src/arvgcfloatnode.c
+++ b/src/arvgcfloatnode.c
@@ -57,11 +57,11 @@ arv_gc_float_node_post_new_child (ArvDomNode *self, ArvDomNode *child)
break;
case ARV_GC_PROPERTY_NODE_TYPE_MINIMUM:
case ARV_GC_PROPERTY_NODE_TYPE_P_MINIMUM:
- node->maximum = property_node;
+ node->minimum = property_node;
break;
case ARV_GC_PROPERTY_NODE_TYPE_MAXIMUM:
case ARV_GC_PROPERTY_NODE_TYPE_P_MAXIMUM:
- node->minimum = property_node;
+ node->maximum = property_node;
break;
case ARV_GC_PROPERTY_NODE_TYPE_INCREMENT:
case ARV_GC_PROPERTY_NODE_TYPE_P_INCREMENT:
diff --git a/src/arvgcintegernode.c b/src/arvgcintegernode.c
index c5ef995..00b7697 100644
--- a/src/arvgcintegernode.c
+++ b/src/arvgcintegernode.c
@@ -57,11 +57,11 @@ arv_gc_integer_node_post_new_child (ArvDomNode *self, ArvDomNode *child)
break;
case ARV_GC_PROPERTY_NODE_TYPE_MINIMUM:
case ARV_GC_PROPERTY_NODE_TYPE_P_MINIMUM:
- node->maximum = property_node;
+ node->minimum = property_node;
break;
case ARV_GC_PROPERTY_NODE_TYPE_MAXIMUM:
case ARV_GC_PROPERTY_NODE_TYPE_P_MAXIMUM:
- node->minimum = property_node;
+ node->maximum = property_node;
break;
case ARV_GC_PROPERTY_NODE_TYPE_INCREMENT:
case ARV_GC_PROPERTY_NODE_TYPE_P_INCREMENT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]