diff options
author | Federico Mena Quintero <federico@novell.com> | 2009-09-04 12:31:37 -0500 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-10-15 22:06:16 +0200 |
commit | 8bf24cdd9d7353a4c92b9920a0350ab96fb029b0 (patch) | |
tree | 3b845e3e663548b024f4bd2e3d3c9bb8d0a2bfe6 /gtk/gtkfilesystemmodel.c | |
parent | 14cc3e17f5588ae66543b2e5cad3d08105883749 (diff) | |
download | gtk+-8bf24cdd9d7353a4c92b9920a0350ab96fb029b0.tar.gz |
Clarify a couple of spots with comments
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'gtk/gtkfilesystemmodel.c')
-rw-r--r-- | gtk/gtkfilesystemmodel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index 2c356c2d74..b5643b0539 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -498,7 +498,7 @@ gtk_file_system_model_iter_nth_child (GtkTreeModel *tree_model, { /* Slow path - the nodes need to be validated up to the sought one */ - node_validate_rows (model, G_MAXUINT, n); + node_validate_rows (model, G_MAXUINT, n); /* note that this is really "n", not row_to_find - see node_validate_rows() */ id = model->n_nodes_valid - 1; if (model->n_nodes_valid == 0 || get_node (model, id)->row != row_to_find) return FALSE; @@ -1738,7 +1738,7 @@ remove_file (GtkFileSystemModel *model, g_object_unref (node->info); g_array_remove_index (model->files, id); - /* FMQ: do we need to resort? */ + /* We don't need to resort, as removing a row doesn't change the sorting order */ } /** |