diff options
author | Sergio Villar Senin <svillar@igalia.com> | 2012-03-08 01:28:02 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-03-20 18:55:11 +0800 |
commit | 6119b95ca4c0c2d4d78b27422dfb6ba9203bab56 (patch) | |
tree | 498151645cb0e38ba8854f738d749e04b39bb58c /embed/ephy-embed-shell.c | |
parent | bc0e3b41f8c21fa0b4bd0cd89e305b0fee049b6a (diff) | |
download | gsoc2013-epiphany-6119b95ca4c0c2d4d78b27422dfb6ba9203bab56.tar.gz gsoc2013-epiphany-6119b95ca4c0c2d4d78b27422dfb6ba9203bab56.tar.zst gsoc2013-epiphany-6119b95ca4c0c2d4d78b27422dfb6ba9203bab56.zip |
Replace EphyFaviconCache by WebKit's icon database cache
https://bugzilla.gnome.org/show_bug.cgi?id=648653
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r-- | embed/ephy-embed-shell.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c index cda96e2e0..3b521f18a 100644 --- a/embed/ephy-embed-shell.c +++ b/embed/ephy-embed-shell.c @@ -34,7 +34,6 @@ #include "ephy-embed-single.h" #include "ephy-embed-type-builtins.h" #include "ephy-encodings.h" -#include "ephy-favicon-cache.h" #include "ephy-file-helpers.h" #include "ephy-history.h" #include "ephy-history-service.h" @@ -54,7 +53,6 @@ struct _EphyEmbedShellPrivate EphyHistory *global_history; EphyHistoryService *global_history_service; GList *downloads; - EphyFaviconCache *favicon_cache; EphyEmbedSingle *embed_single; EphyEncodings *encodings; EphyAdBlockManager *adblock_manager; @@ -96,13 +94,6 @@ ephy_embed_shell_dispose (GObject *object) EphyEmbedShell *shell = EPHY_EMBED_SHELL (object); EphyEmbedShellPrivate *priv = shell->priv; - if (priv->favicon_cache != NULL) - { - LOG ("Unref favicon cache"); - g_object_unref (priv->favicon_cache); - priv->favicon_cache = NULL; - } - if (priv->encodings != NULL) { LOG ("Unref encodings"); @@ -167,27 +158,6 @@ ephy_embed_shell_finalize (GObject *object) } /** - * ephy_embed_shell_get_favicon_cache: - * @shell: the #EphyEmbedShell - * - * Returns the favicons cache. - * - * Return value: (transfer none): the favicons cache - **/ -GObject * -ephy_embed_shell_get_favicon_cache (EphyEmbedShell *shell) -{ - g_return_val_if_fail (EPHY_IS_EMBED_SHELL (shell), NULL); - - if (shell->priv->favicon_cache == NULL) - { - shell->priv->favicon_cache = ephy_favicon_cache_new (); - } - - return G_OBJECT (shell->priv->favicon_cache); -} - -/** * ephy_embed_shell_get_global_history: * @shell: the #EphyEmbedShell * |