diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-02-03 10:00:17 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-02-03 12:49:26 +0100 |
commit | 0a8d7603ea7448d80e5d1c39bdeb050d7ca926d8 (patch) | |
tree | 40efa77a2632da233bb7d4425ed24088b21ceb3f /gtk/gtkiconcacheprivate.h | |
parent | 4ab12ab755a9d643f13e0e80d69c55ba3283705f (diff) | |
download | gtk+-0a8d7603ea7448d80e5d1c39bdeb050d7ca926d8.tar.gz |
icon-cache: Add new function to list all the icons in a directory
This lists the icons in a particular director, with their flags in a
hashtable. We also convert from "icon.symbolic" + SUFFIX_PNG to
"icon" + SUFFIX_SYMBOLIC_PNG.
Diffstat (limited to 'gtk/gtkiconcacheprivate.h')
-rw-r--r-- | gtk/gtkiconcacheprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkiconcacheprivate.h b/gtk/gtkiconcacheprivate.h index 08e581fe9a..2f73891e6b 100644 --- a/gtk/gtkiconcacheprivate.h +++ b/gtk/gtkiconcacheprivate.h @@ -32,6 +32,8 @@ gboolean gtk_icon_cache_has_icon (GtkIconCache *cache, gboolean gtk_icon_cache_has_icon_in_directory (GtkIconCache *cache, const gchar *icon_name, const gchar *directory); +GHashTable *gtk_icon_cache_list_icons_in_directory (GtkIconCache *cache, + const gchar *directory); gboolean gtk_icon_cache_has_icons (GtkIconCache *cache, const gchar *directory); void gtk_icon_cache_add_icons (GtkIconCache *cache, |