summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-label.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index ec3429c..4b28923 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -204,6 +204,15 @@ set_title(MqTabLabel *tab_label, const gchar *title)
}
static void
+set_custom_title(MqTabLabel *tab_label, const gchar *title)
+{
+ /* TODO: Handle empty string. Set custom title instead of overriding
+ * (temporarily) regular title. */
+ mq_tab_page_set_title(tab_label->tab_page, title);
+ set_title(tab_label, title);
+}
+
+static void
favicon_cb(WebKitWebView G_GNUC_UNUSED *web_view,
GParamSpec G_GNUC_UNUSED *param_spec, MqTabLabel *tab_label)
{
@@ -245,15 +254,6 @@ set_web_view(MqTabLabel *tab_label, MqWebView *web_view)
G_CALLBACK(title_cb), tab_label);
}
-static void
-set_custom_title(MqTabLabel *tab_label, const gchar *title)
-{
- /* TODO: Handle empty string. Set custom title instead of overriding
- * (temporarily) regular title. */
- mq_tab_page_set_title(tab_label->tab_page, title);
- set_title(tab_label, title);
-}
-
static gboolean
name_entry_key_press_event_cb(GtkEntry G_GNUC_UNUSED *entry, GdkEventKey *event,
MqTabLabel *tab_label)