diff options
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r-- | embed/ephy-embed-single.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c index bf815ed19..a9a2017c3 100644 --- a/embed/ephy-embed-single.c +++ b/embed/ephy-embed-single.c @@ -350,6 +350,7 @@ ephy_embed_single_initialize (EphyEmbedSingle *single) char *filename; char *cookie_policy; char *cache_dir; + char *favicon_db_path; EphyEmbedSinglePrivate *priv = single->priv; SoupSessionFeature *requester; @@ -412,6 +413,11 @@ ephy_embed_single_initialize (EphyEmbedSingle *single) soup_session_add_feature_by_type (session, SOUP_TYPE_PASSWORD_MANAGER_GNOME); #endif + /* Initialize the favicon cache. */ + favicon_db_path = g_build_filename (g_get_user_data_dir (), g_get_prgname (), NULL); + webkit_favicon_database_set_path (webkit_get_favicon_database (), favicon_db_path); + g_free (favicon_db_path); + return TRUE; } |