diff options
author | Mario Sanchez Prada <msanchez@gnome.org> | 2012-12-04 20:32:22 +0800 |
---|---|---|
committer | Mario Sanchez Prada <msanchez@gnome.org> | 2012-12-04 20:06:39 +0800 |
commit | 811fbd419357d3cb54ada96feed4777933e4ad39 (patch) | |
tree | 21a5011174772a5d647d0a527585e97be3b2a392 /src | |
parent | 3e7bda7198ccdd9677cc412b7f3c3aec7a747959 (diff) | |
download | gsoc2013-epiphany-811fbd419357d3cb54ada96feed4777933e4ad39.tar gsoc2013-epiphany-811fbd419357d3cb54ada96feed4777933e4ad39.tar.gz gsoc2013-epiphany-811fbd419357d3cb54ada96feed4777933e4ad39.tar.bz2 gsoc2013-epiphany-811fbd419357d3cb54ada96feed4777933e4ad39.tar.lz gsoc2013-epiphany-811fbd419357d3cb54ada96feed4777933e4ad39.tar.xz gsoc2013-epiphany-811fbd419357d3cb54ada96feed4777933e4ad39.tar.zst gsoc2013-epiphany-811fbd419357d3cb54ada96feed4777933e4ad39.zip |
Port PdmDialog to WebKit2GTK+ favicons API.
https://bugzilla.gnome.org/show_bug.cgi?id=679370
Diffstat (limited to 'src')
-rw-r--r-- | src/pdm-dialog.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index 0bc61973d..22b92d566 100644 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -307,6 +307,7 @@ clear_all_dialog_response_cb (GtkDialog *dialog, { EphyEmbedShell *shell; EphyEmbedSingle *single; + WebKitFaviconDatabase *database; shell = ephy_embed_shell_get_default (); @@ -315,10 +316,11 @@ clear_all_dialog_response_cb (GtkDialog *dialog, ephy_embed_single_clear_cache (single); #ifdef HAVE_WEBKIT2 - /* TODO: Favicons */ + database = webkit_web_context_get_favicon_database (webkit_web_context_get_default ()); #else - webkit_favicon_database_clear (webkit_get_favicon_database ()); + database = webkit_get_favicon_database (); #endif + webkit_favicon_database_clear (database); } } gtk_widget_destroy (GTK_WIDGET (dialog)); |