aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ephy-node.c b/lib/ephy-node.c
index 620b775c0..3f7d58403 100644
--- a/lib/ephy-node.c
+++ b/lib/ephy-node.c
@@ -781,7 +781,6 @@ ephy_node_get_property_node (EphyNode *node,
EphyNode *retval;
g_return_val_if_fail (EPHY_IS_NODE (node), NULL);
- g_return_val_if_fail (property_id >= 0, NULL);
if (property_id >= node->properties->len) {
return NULL;
@@ -1268,7 +1267,6 @@ ephy_node_get_nth_child (EphyNode *node,
EphyNode *ret;
g_return_val_if_fail (EPHY_IS_NODE (node), NULL);
- g_return_val_if_fail (n >= 0, NULL);
if (n < node->children->len) {
ret = g_ptr_array_index (node->children, n);