From 0cfe967819c1dc21b8697929cee3533013727a24 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 24 Sep 2017 13:40:42 -0400 Subject: MqTab: Rename "tab_position" member to "position" --- (limited to 'src/tab.c') diff --git a/src/tab.c b/src/tab.c index 9d0ad94..47d048c 100644 --- a/src/tab.c +++ b/src/tab.c @@ -206,7 +206,7 @@ update_tab_label(MqTab *tab) { gchar *label; - label = g_strdup_printf("%d. %s", tab->tab_position + 1, tab->title); + 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); @@ -291,6 +291,6 @@ mq_tab_get_container(MqTab *tab) void mq_tab_update_position(MqTab *tab, guint position) { - tab->tab_position = position; + tab->position = position; update_tab_label(tab); } -- cgit v0.9.1