diff options
author | Vilhelm Prytz <vilhelm@prytznet.se> | 2020-03-29 03:15:15 +0200 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2020-03-29 19:43:26 +0000 |
commit | ba24423344f568fac6c161bdb9e3aa3e4b7408f9 (patch) | |
tree | d023c49227fd0011611715055376c75ddacf8c3a /eel | |
parent | 107a90abc715b7e6071f4d08f1609a072dc613e1 (diff) | |
download | nautilus-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.c | 2 |
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; } |