Fix #637: Remove unused function vf_index_is_selected
authorColin Clark <colin.clark@cclark.uk>
Sat, 6 Oct 2018 08:51:37 +0000 (09:51 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sat, 6 Oct 2018 08:51:37 +0000 (09:51 +0100)
https://github.com/BestImageViewer/geeqie/pull/637

src/view_file.h
src/view_file/view_file.c

index ec9dff8..5c519a2 100644 (file)
@@ -54,7 +54,6 @@ gint vf_index_by_fd(ViewFile *vf, FileData *in_fd);
 guint vf_count(ViewFile *vf, gint64 *bytes);
 GList *vf_get_list(ViewFile *vf);
 
-gint vf_index_is_selected(ViewFile *vf, gint row);
 guint vf_selection_count(ViewFile *vf, gint64 *bytes);
 GList *vf_selection_get_list(ViewFile *vf);
 GList *vf_selection_get_list_by_index(ViewFile *vf);
index 66fe6c8..2bcf960 100644 (file)
@@ -170,16 +170,6 @@ static gboolean vf_release_cb(GtkWidget *widget, GdkEventButton *bevent, gpointe
  *-----------------------------------------------------------------------------
  */
 
-gboolean vf_index_is_selected(ViewFile *vf, gint row)
-{
-       switch (vf->type)
-       {
-       case FILEVIEW_LIST: return vflist_index_is_selected(vf, row);
-       case FILEVIEW_ICON: return vficon_index_is_selected(vf, row);
-       }
-}
-
-
 guint vf_selection_count(ViewFile *vf, gint64 *bytes)
 {
        switch (vf->type)