From c90b60633ba526a4ea40ea4ecb239348ed0982ec Mon Sep 17 00:00:00 2001 From: Omari Stephens Date: Sun, 9 Jul 2017 05:54:05 +0000 Subject: [PATCH] Ran regen_potfiles.sh to add missing files and correct the location of view_file files in POTFILES.in --- po/POTFILES.in | 7 ++++-- src/view_file/view_file_common.c | 37 -------------------------------- 2 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 src/view_file/view_file_common.c diff --git a/po/POTFILES.in b/po/POTFILES.in index d7be7fdb..0e97039d 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -72,6 +72,8 @@ src/pan-view/pan-item.c src/pan-view/pan-timeline.c src/pan-view/pan-util.c src/pan-view/pan-view.c +src/pan-view/pan-view-filter.c +src/pan-view/pan-view-search.c src/pixbuf-renderer.c src/pixbuf_util.c src/preferences.c @@ -82,6 +84,7 @@ src/renderer-clutter.c src/renderer-tiles.c src/search.c src/secure_save.c +src/shortcuts.c src/similar.c src/slideshow.c src/thumb.c @@ -103,6 +106,6 @@ src/view_dir.c src/view_dir_list.c src/view_dir_tree.c src/view_file.c -src/view_file_icon.c -src/view_file_list.c +src/view_file/view_file_icon.c +src/view_file/view_file_list.c src/window.c diff --git a/src/view_file/view_file_common.c b/src/view_file/view_file_common.c deleted file mode 100644 index 959aa665..00000000 --- a/src/view_file/view_file_common.c +++ /dev/null @@ -1,37 +0,0 @@ -/* - * This file is a part of Geeqie project (http://www.geeqie.org/). - * Copyright (C) 2008 - 2016 The Geeqie Team - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ - -guint vfcommon_count(ViewFile *vf, gint64 *bytes) -{ - if (bytes) - { - gint64 b = 0; - GList *work; - - work = vf->list; - while (work) - { - FileData *fd = work->data; - work = work->next; - - b += fd->size; - } - - *bytes = b; - } - - return g_list_length(vf->list); -} - -- 2.20.1