summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
authorDaniel Friesel <ghub@derf.homelinux.org>2011-10-02 11:34:54 -0700
committerDaniel Friesel <ghub@derf.homelinux.org>2011-10-02 11:34:54 -0700
commitb467f5f01ce15f24f786cc10dc3fc543d44871dd (patch)
treebf1c198e248205d31af6b47a9b696644741ef081 /src/thumbnail.c
parentf55de5185347da52e7cd282491afdc7114418e50 (diff)
parent31288506d2f5639e9e7348ef34a6bc917c9a294b (diff)
Merge pull request #66 from Ferada/master
Perform actions on thumbnails.
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r--src/thumbnail.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/thumbnail.c b/src/thumbnail.c
index 86d254b..42e2a82 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -902,6 +902,13 @@ inline void feh_thumbnail_show_selected()
feh_thumbnail_show_fullsize(td.selected->file);
}
+inline feh_file* feh_thumbnail_get_selected_file()
+{
+ if (td.selected)
+ return td.selected->file;
+ return NULL;
+}
+
int feh_thumbnail_setup_thumbnail_dir(void)
{
int status = 0;