[epiphany] web-dom-utils: Remove return value from get_icon_from_favicon
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-dom-utils: Remove return value from get_icon_from_favicon
- Date: Wed, 8 Jun 2016 14:55:51 +0000 (UTC)
commit 751dbe684f6470109f3d5ce2a15201906ff7b21a
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Wed Jun 8 09:54:47 2016 -0500
web-dom-utils: Remove return value from get_icon_from_favicon
It always returns TRUE now.
https://bugzilla.gnome.org/show_bug.cgi?id=767257
embed/web-extension/ephy-web-dom-utils.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-dom-utils.c b/embed/web-extension/ephy-web-dom-utils.c
index 32a8ce5..df8408e 100644
--- a/embed/web-extension/ephy-web-dom-utils.c
+++ b/embed/web-extension/ephy-web-dom-utils.c
@@ -356,7 +356,7 @@ get_icon_from_touch_icon (WebKitDOMDocument *document,
return ret;
}
-static gboolean
+static void
get_icon_from_favicon (WebKitDOMDocument *document,
char **uri_out)
{
@@ -389,8 +389,6 @@ get_icon_from_favicon (WebKitDOMDocument *document,
if (uri_out != NULL)
*uri_out = image;
-
- return TRUE;
}
/**
@@ -427,7 +425,7 @@ ephy_web_dom_utils_get_best_icon (WebKitDOMDocument *document,
if (!found_icon)
found_icon = get_icon_from_ogp (document, &image);
if (!found_icon)
- found_icon = get_icon_from_favicon (document, &image);
+ get_icon_from_favicon (document, &image);
if (uri_out != NULL)
*uri_out = resolve_uri (base_uri, image);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]