summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-10-18 22:01:49 +0200
committerDave Davenport <qball@gmpclient.org>2020-10-18 22:01:49 +0200
commit6e9829033521d09240db7b084c8f761b1e8ed65e (patch)
tree603b66a94920a7cf81dbc4a36ce29974d83d4df4 /include
parent5994df7f048492b234c2827cf9a7e313b356c6b8 (diff)
[RofiIconFetcher] Do image checking in icon fetcher, use nkutils-enum
Diffstat (limited to 'include')
-rw-r--r--include/rofi-icon-fetcher.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rofi-icon-fetcher.h b/include/rofi-icon-fetcher.h
index 25db41df..daa3e5e6 100644
--- a/include/rofi-icon-fetcher.h
+++ b/include/rofi-icon-fetcher.h
@@ -45,5 +45,8 @@ uint32_t rofi_icon_fetcher_query ( const char *name, const int size );
*/
cairo_surface_t * rofi_icon_fetcher_get ( const uint32_t uid );
+
+
+gboolean rofi_icon_fetcher_file_is_image ( const char * const path );
/** @} */
#endif // ROFI_ICON_FETCHER_H