diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-08 05:47:11 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-08 05:47:11 +0800 |
commit | ec9060610c40fef18534b414d1979f4359f59a5e (patch) | |
tree | 59b34aaff789053cae2ab90bf7eb3331936fd4cc /embed/ephy-favicon-cache.h | |
parent | 8a5ef09c4435869dc39736d6c77c7d135f976223 (diff) | |
download | gsoc2013-epiphany-ec9060610c40fef18534b414d1979f4359f59a5e.tar gsoc2013-epiphany-ec9060610c40fef18534b414d1979f4359f59a5e.tar.gz gsoc2013-epiphany-ec9060610c40fef18534b414d1979f4359f59a5e.tar.bz2 gsoc2013-epiphany-ec9060610c40fef18534b414d1979f4359f59a5e.tar.lz gsoc2013-epiphany-ec9060610c40fef18534b414d1979f4359f59a5e.tar.xz gsoc2013-epiphany-ec9060610c40fef18534b414d1979f4359f59a5e.tar.zst gsoc2013-epiphany-ec9060610c40fef18534b414d1979f4359f59a5e.zip |
Add way to clear the favicon cache. Also removes any extraneous files from
2005-08-07 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-favicon-cache.c: (icons_removed_cb),
(remove_obsolete_icons), (delete_file),
(ephy_favicon_cache_finalize), (ephy_favicon_cache_get),
(ephy_favicon_cache_clear):
* embed/ephy-favicon-cache.h:
Add way to clear the favicon cache. Also removes any extraneous files
from favicon cache directory. Fix a crash which I wonder why we never
experienced it!
* src/prefs-dialog.c: (prefs_clear_cache_button_clicked_cb):
Also clear favicon cache when clearing the cache.
Diffstat (limited to 'embed/ephy-favicon-cache.h')
-rw-r--r-- | embed/ephy-favicon-cache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/embed/ephy-favicon-cache.h b/embed/ephy-favicon-cache.h index a2d211821..f2161e6f9 100644 --- a/embed/ephy-favicon-cache.h +++ b/embed/ephy-favicon-cache.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2002 Jorn Baayen * Copyright (C) 2003-2004 Marco Pesenti Gritti - * Copyright (C) 2004 Christian Persch + * Copyright (C) 2004, 2005 Christian Persch * * 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 @@ -63,6 +63,8 @@ EphyFaviconCache *ephy_favicon_cache_new (void); GdkPixbuf *ephy_favicon_cache_get (EphyFaviconCache *cache, const char *url); +void ephy_favicon_cache_clear (EphyFaviconCache *cache); + G_END_DECLS #endif /* EPHY_FAVICON_CACHE_H */ |