diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-12 04:12:48 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-12 04:12:48 +0800 |
commit | 594097cc0181cfea7e8205448a7b6e315e311a36 (patch) | |
tree | 8401a7431661f52e384a69bf9ce5cfc03e60a464 /embed/ephy-favicon-cache.h | |
parent | 67a3a6a3e873bf7972d76cee8396b8dec08fdcae (diff) | |
download | gsoc2013-epiphany-594097cc0181cfea7e8205448a7b6e315e311a36.tar gsoc2013-epiphany-594097cc0181cfea7e8205448a7b6e315e311a36.tar.gz gsoc2013-epiphany-594097cc0181cfea7e8205448a7b6e315e311a36.tar.bz2 gsoc2013-epiphany-594097cc0181cfea7e8205448a7b6e315e311a36.tar.lz gsoc2013-epiphany-594097cc0181cfea7e8205448a7b6e315e311a36.tar.xz gsoc2013-epiphany-594097cc0181cfea7e8205448a7b6e315e311a36.tar.zst gsoc2013-epiphany-594097cc0181cfea7e8205448a7b6e315e311a36.zip |
Reimplement favicons. Now all exit crashes related to connections left
2003-01-11 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/Makefile.am:
* embed/ephy-embed-favicon.c:
* embed/ephy-embed-favicon.h:
* embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache):
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_class_init),
(ephy_favicon_cache_new), (ephy_favicon_cache_load),
(icon_is_obsolete), (icons_added_cb), (icons_removed_cb),
(remove_obsolete_icons), (ephy_favicon_cache_save),
(ephy_favicon_cache_init), (kill_download),
(cleanup_downloads_hash), (ephy_favicon_cache_finalize),
(favicon_name_build), (favicon_download_completed_cb),
(ephy_favicon_cache_download), (ephy_favicon_cache_get):
* embed/ephy-favicon-cache.h:
* embed/ephy-favicon.c:
* embed/ephy-favicon.h:
* embed/mozilla/mozilla-embed-shell.cpp:
* src/ephy-tab.c: (ephy_tab_init), (ephy_tab_favicon_cb),
(ephy_tab_location_cb), (ephy_tab_get_location),
(ephy_tab_get_favicon_url):
* src/ephy-tab.h:
* src/ephy-window.c: (update_favicon_control):
* src/toolbar.c: (toolbar_setup_favicon_ebox),
(toolbar_update_favicon):
Reimplement favicons. Now all exit crashes related
to connections left open by favicons should be fixed.
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 */ |