Commit 2e3ff5d8 authored by Avinash Sonawane's avatar Avinash Sonawane Committed by Alexander Schwinn
Browse files

Fix `G_UNLIKELY` check

Found by: scan-build
parent 52d8c9fc
......@@ -4113,7 +4113,7 @@ exo_icon_view_rows_reordered (GtkTreeModel *model,
/* determine the number of items to reorder */
length = gtk_tree_model_iter_n_children (model, NULL);
if (G_UNLIKELY (length == 0))
if (G_UNLIKELY (length <= 0))
return;
list_array = g_newa (GList *, length);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment