summaryrefslogtreecommitdiff
path: root/exo/exo-icon-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'exo/exo-icon-view.c')
-rw-r--r--exo/exo-icon-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c
index 89ed96f..733fc24 100644
--- a/exo/exo-icon-view.c
+++ b/exo/exo-icon-view.c
@@ -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);