Commit fb1a72fc authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Benjamin Otte

s/get_is_visible/iter_is_visible for clarity

Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>
parent 9efa64fb
......@@ -6326,7 +6326,7 @@ show_and_select_files (GtkFileChooserDefault *impl,
if (!_gtk_file_system_model_get_iter_for_file (fsmodel, &iter, file))
continue;
if (!_gtk_file_system_model_get_is_visible (fsmodel, &iter))
if (!_gtk_file_system_model_iter_is_visible (fsmodel, &iter))
{
GFileInfo *info = _gtk_file_system_model_get_info (fsmodel, &iter);
......@@ -6345,7 +6345,7 @@ show_and_select_files (GtkFileChooserDefault *impl,
}
}
if (_gtk_file_system_model_get_is_visible (fsmodel, &iter))
if (_gtk_file_system_model_iter_is_visible (fsmodel, &iter))
{
gtk_tree_selection_select_iter (selection, &iter);
selected_a_file = TRUE;
......
......@@ -1485,7 +1485,7 @@ _gtk_file_system_model_get_cancellable (GtkFileSystemModel *model)
}
/**
* _gtk_file_system_model_get_is_visible:
* _gtk_file_system_model_iter_is_visible:
* @model: the model
* @iter: a valid iterator
*
......@@ -1498,8 +1498,8 @@ _gtk_file_system_model_get_cancellable (GtkFileSystemModel *model)
* Returns: %TRUE if the iterator is visible
**/
gboolean
_gtk_file_system_model_get_is_visible (GtkFileSystemModel *model,
GtkTreeIter *iter)
_gtk_file_system_model_iter_is_visible (GtkFileSystemModel *model,
GtkTreeIter *iter)
{
FileModelNode *node;
......@@ -1652,7 +1652,7 @@ node_get_for_file (GtkFileSystemModel *model,
* Initializes @iter to point to the row used for @file, if @file is part
* of the model. Note that upon successful return, @iter may point to an
* invisible row in the @model. Use
* _gtk_file_system_model_get_is_visible() to make sure it is visible to
* _gtk_file_system_model_iter_is_visible() to make sure it is visible to
* the tree view.
*
* Returns: %TRUE if file is part of the model and @iter was initialized
......
......@@ -53,7 +53,7 @@ GtkFileSystemModel *_gtk_file_system_model_new_for_directory(GFile *
guint n_columns,
...);
GCancellable * _gtk_file_system_model_get_cancellable (GtkFileSystemModel *model);
gboolean _gtk_file_system_model_get_is_visible (GtkFileSystemModel *model,
gboolean _gtk_file_system_model_iter_is_visible (GtkFileSystemModel *model,
GtkTreeIter *iter);
GFileInfo * _gtk_file_system_model_get_info (GtkFileSystemModel *model,
GtkTreeIter *iter);
......
Markdown is supported
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