summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorVilhelm Prytz <vilhelm@prytznet.se>2020-03-29 03:15:15 +0200
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2020-03-29 19:43:26 +0000
commitba24423344f568fac6c161bdb9e3aa3e4b7408f9 (patch)
treed023c49227fd0011611715055376c75ddacf8c3a /eel
parent107a90abc715b7e6071f4d08f1609a072dc613e1 (diff)
downloadnautilus-ba24423344f568fac6c161bdb9e3aa3e4b7408f9.tar.gz
eel-canvas: Remove redundant comparison
Comparison is always false because positions >= 1 Makes comparison redundant
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index 154dbd6b2..e6dc73327 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -698,7 +698,7 @@ eel_canvas_item_lower (EelCanvasItem *item,
g_return_if_fail (EEL_IS_CANVAS_ITEM (item));
g_return_if_fail (positions >= 1);
- if (!item->parent || positions == 0)
+ if (!item->parent)
{
return;
}