diff options
Diffstat (limited to 'embed/ephy-favicon-cache.h')
-rw-r--r-- | embed/ephy-favicon-cache.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/embed/ephy-favicon-cache.h b/embed/ephy-favicon-cache.h index ff4ebcd56..4e182cf2c 100644 --- a/embed/ephy-favicon-cache.h +++ b/embed/ephy-favicon-cache.h @@ -16,8 +16,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ephy-history.h" - #include <glib-object.h> #include <gdk-pixbuf/gdk-pixbuf.h> @@ -35,6 +33,13 @@ G_BEGIN_DECLS typedef struct EphyFaviconCachePrivate EphyFaviconCachePrivate; +enum +{ + EPHY_NODE_FAVICON_PROP_URL = 2, + EPHY_NODE_FAVICON_PROP_FILENAME = 3, + EPHY_NODE_FAVICON_PROP_LAST_USED = 4 +}; + typedef struct { GObject parent; @@ -51,18 +56,11 @@ typedef struct GType ephy_favicon_cache_get_type (void); -EphyFaviconCache *ephy_favicon_cache_new (EphyHistory *history); +EphyFaviconCache *ephy_favicon_cache_new (void); -GdkPixbuf *ephy_favicon_cache_lookup (EphyFaviconCache *cache, +GdkPixbuf *ephy_favicon_cache_get (EphyFaviconCache *cache, const char *url); -GdkPixbuf *ephy_favicon_cache_lookup_direct (EphyFaviconCache *cache, - const char *cache_url); - -void ephy_favicon_cache_insert_from_url (EphyFaviconCache *cache, - const char *url, - const char *favicon_url); - G_END_DECLS #endif /* __EPHY_FAVICON_CACHE_H */ |