[epiphany] Port PdmDialog to WebKit2GTK+ favicons API.
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Port PdmDialog to WebKit2GTK+ favicons API.
- Date: Tue, 4 Dec 2012 12:33:57 +0000 (UTC)
commit 811fbd419357d3cb54ada96feed4777933e4ad39
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Tue Dec 4 13:32:22 2012 +0100
Port PdmDialog to WebKit2GTK+ favicons API.
https://bugzilla.gnome.org/show_bug.cgi?id=679370
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 0bc6197..22b92d5 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]