summaryrefslogtreecommitdiffstats
path: root/src/tab-chrome.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tab-chrome.c')
-rw-r--r--src/tab-chrome.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index fda480f..e205ae4 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -473,13 +473,6 @@ mq_tab_chrome_get_container(MqTabChrome *chrome)
}
static void
-update_tab_image(MqTabChrome *chrome)
-{
- gtk_image_set_from_surface(GTK_IMAGE(chrome->tab_image),
- webkit_web_view_get_favicon(chrome->web_view));
-}
-
-static void
load_changed_cb(WebKitWebView *web_view, WebKitLoadEvent load_event,
MqTabChrome *chrome)
{
@@ -578,13 +571,6 @@ uri_cb(WebKitWebView *web_view, GParamSpec __attribute__((unused)) *paramspec,
}
static void
-favicon_cb(WebKitWebView __attribute__((unused)) *web_view,
- GParamSpec __attribute__((unused)) *paramspec, MqTabChrome *chrome)
-{
- update_tab_image(chrome);
-}
-
-static void
loading_cb(WebKitWebView *web_view,
GParamSpec __attribute__((unused)) *paramspec, MqTabChrome *chrome)
{
@@ -623,9 +609,6 @@ connect_web_view(MqTabChrome *chrome)
G_CALLBACK(load_progress_cb), chrome);
g_signal_connect(chrome->web_view, "notify::uri",
G_CALLBACK(uri_cb), chrome);
- /* FIXME: Doesn't work? */
- g_signal_connect(chrome->web_view, "notify::favicon",
- G_CALLBACK(favicon_cb), chrome);
g_signal_connect(chrome->web_view, "notify::is-loading",
G_CALLBACK(loading_cb), chrome);
}