From ab0556c7db38369a27179b0c3d0effb45d289e5c Mon Sep 17 00:00:00 2001
From: Patrick McDermott <pj@pehjota.net>
Date: Sun, 24 Sep 2017 22:25:28 -0400
Subject: MqTab: Move definitions of update_tab_*()

---
diff --git a/src/tab.c b/src/tab.c
index ba632ee..c4acd9e 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -28,6 +28,23 @@
 #include "tab-body.h"
 
 static void
+update_tab_image(MqTab *tab)
+{
+	gtk_image_set_from_surface(GTK_IMAGE(tab->tab_image), tab->favicon);
+}
+
+static void
+update_tab_label(MqTab *tab)
+{
+	gchar *label;
+
+	label = g_strdup_printf("%d. %s", tab->position + 1, tab->title);
+	gtk_label_set_text(GTK_LABEL(tab->tab_label), label);
+	gtk_widget_set_tooltip_text(tab->tab, label);
+	g_free(label);
+}
+
+static void
 update_positions(MqTab *node, gint step)
 {
 	if (node) {
@@ -255,23 +272,6 @@ mq_tab_populate_tab(MqTab *tab)
 }
 
 static void
-update_tab_image(MqTab *tab)
-{
-	gtk_image_set_from_surface(GTK_IMAGE(tab->tab_image), tab->favicon);
-}
-
-static void
-update_tab_label(MqTab *tab)
-{
-	gchar *label;
-
-	label = g_strdup_printf("%d. %s", tab->position + 1, tab->title);
-	gtk_label_set_text(GTK_LABEL(tab->tab_label), label);
-	gtk_widget_set_tooltip_text(tab->tab, label);
-	g_free(label);
-}
-
-static void
 favicon_cb(WebKitWebView __attribute__((unused)) *web_view,
 	GParamSpec __attribute__((unused)) *paramspec, MqTab *tab)
 {
--
cgit v0.9.1