diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-10-21 18:44:08 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-21 18:44:08 +0000 |
commit | a34d841d7964cdf3cef591700ba3e8baaea4723d (patch) | |
tree | b833f7f9a0b5823856765fdf565f778fa3a0e094 /gtk/gtkiconcache.h | |
parent | 81c28db09dd7b8c19cedd8d4dddb7389aaeb9f2d (diff) | |
download | gtk+-a34d841d7964cdf3cef591700ba3e8baaea4723d.tar.gz |
Implement for cached themes.
2004-10-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Implement for
cached themes.
* gtk/gtkiconcache.h:
* gtk/gtkiconcache.c (_gtk_icon_cache_has_icon): New function.
* gtk/updateiconcache.c (scan_directory): Don't skip .icon
files which are listed before their images.
(foreach_remove_func): Instead filter lonely .icon files out
here.
* gtk/gtkicontheme.c (theme_dir_get_icon_suffix): Filter out
the HAS_ICON_FILE flag.
Diffstat (limited to 'gtk/gtkiconcache.h')
-rw-r--r-- | gtk/gtkiconcache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkiconcache.h b/gtk/gtkiconcache.h index ee9d48aeb3..010ebfe939 100644 --- a/gtk/gtkiconcache.h +++ b/gtk/gtkiconcache.h @@ -26,6 +26,8 @@ typedef struct _GtkIconCache GtkIconCache; GtkIconCache *_gtk_icon_cache_new_for_path (const gchar *path); gboolean _gtk_icon_cache_has_directory (GtkIconCache *cache, const gchar *directory); +gboolean _gtk_icon_cache_has_icon (GtkIconCache *cache, + const gchar *icon_name); void _gtk_icon_cache_add_icons (GtkIconCache *cache, const gchar *directory, GHashTable *hash_table); |