From fb1a72fcb005a14b004eaae6912abd5232713a80 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 10 Sep 2009 16:33:37 -0500 Subject: [PATCH] s/get_is_visible/iter_is_visible for clarity Signed-off-by: Federico Mena Quintero --- gtk/gtkfilechooserdefault.c | 4 ++-- gtk/gtkfilesystemmodel.c | 8 ++++---- gtk/gtkfilesystemmodel.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index caa201942c..a128e1d397 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -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; diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index d8ae27d66b..e10babcb0c 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -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 diff --git a/gtk/gtkfilesystemmodel.h b/gtk/gtkfilesystemmodel.h index 0c89d61ac6..a6fbab936f 100644 --- a/gtk/gtkfilesystemmodel.h +++ b/gtk/gtkfilesystemmodel.h @@ -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);