Mercurial > geeqie.yaz
comparison src/view_file_list.c @ 578:d31008c98f10
Drop unused vficon_select_by_path() and vflist_select_by_path().
author | zas_ |
---|---|
date | Sun, 04 May 2008 23:06:46 +0000 |
parents | b941403a4cd9 |
children | f8c93e1d728d |
comparison
equal
deleted
inserted
replaced
577:5ded871a0968 | 578:d31008c98f10 |
---|---|
1522 | 1522 |
1523 selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(vf->listview)); | 1523 selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(vf->listview)); |
1524 gtk_tree_selection_unselect_all(selection); | 1524 gtk_tree_selection_unselect_all(selection); |
1525 } | 1525 } |
1526 | 1526 |
1527 void vflist_select_by_path(ViewFile *vf, const gchar *path) | |
1528 { | |
1529 FileData *fd; | |
1530 | |
1531 if (vflist_row_by_path(vf, path, &fd) < 0) return; | |
1532 | |
1533 vflist_select_by_fd(vf, fd); | |
1534 } | |
1535 | |
1536 void vflist_select_by_fd(ViewFile *vf, FileData *fd) | 1527 void vflist_select_by_fd(ViewFile *vf, FileData *fd) |
1537 { | 1528 { |
1538 GtkTreeIter iter; | 1529 GtkTreeIter iter; |
1539 | 1530 |
1540 if (vflist_find_row(vf, fd, &iter) < 0) return; | 1531 if (vflist_find_row(vf, fd, &iter) < 0) return; |