[epiphany] window: Remove confusingly-named function
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] window: Remove confusingly-named function
- Date: Thu, 28 Jul 2016 12:31:59 +0000 (UTC)
commit 61b5907b88d70cbfe196aa7b3c1dd9f7e1a2989a
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Jul 11 11:54:51 2016 -0500
window: Remove confusingly-named function
It doesn't use EphyWindowAction, at least not anymore. And it's a
one-liner called in exactly one place, right below, so just get rid of
it.
src/ephy-window.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 5347993..c6a4384 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1107,13 +1107,6 @@ sync_tab_document_type (EphyWebView *view,
}
static void
-_ephy_window_action_set_favicon (EphyWindow *window,
- GdkPixbuf *icon)
-{
- g_object_set (window->location_controller, "icon", icon, NULL);
-}
-
-static void
sync_tab_icon (EphyWebView *view,
GParamSpec *pspec,
EphyWindow *window)
@@ -1124,7 +1117,7 @@ sync_tab_icon (EphyWebView *view,
icon = ephy_web_view_get_icon (view);
- _ephy_window_action_set_favicon (window, icon);
+ g_object_set (window->location_controller, "icon", icon, NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]