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.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 316c674..fda480f 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -480,21 +480,6 @@ update_tab_image(MqTabChrome *chrome)
}
static void
-update_tab_label(MqTabChrome *chrome)
-{
- gtk_label_set_text(GTK_LABEL(chrome->tab_label),
- g_strdup_printf("%d. %s", chrome->tab_position + 1,
- webkit_web_view_get_title(chrome->web_view)));
-}
-
-void
-mq_tab_chrome_update_tab_position(MqTabChrome *chrome, guint position)
-{
- chrome->tab_position = position;
- update_tab_label(chrome);
-}
-
-static void
load_changed_cb(WebKitWebView *web_view, WebKitLoadEvent load_event,
MqTabChrome *chrome)
{
@@ -600,13 +585,6 @@ favicon_cb(WebKitWebView __attribute__((unused)) *web_view,
}
static void
-title_cb(WebKitWebView __attribute__((unused)) *web_view,
- GParamSpec __attribute__((unused)) *paramspec, MqTabChrome *chrome)
-{
- update_tab_label(chrome);
-}
-
-static void
loading_cb(WebKitWebView *web_view,
GParamSpec __attribute__((unused)) *paramspec, MqTabChrome *chrome)
{
@@ -648,8 +626,6 @@ connect_web_view(MqTabChrome *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::title",
- G_CALLBACK(title_cb), chrome);
g_signal_connect(chrome->web_view, "notify::is-loading",
G_CALLBACK(loading_cb), chrome);
}