aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-tag-followup.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/message-tag-followup.c')
-rw-r--r--mail/message-tag-followup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mail/message-tag-followup.c b/mail/message-tag-followup.c
index 5141387b01..b9ae183f6b 100644
--- a/mail/message-tag-followup.c
+++ b/mail/message-tag-followup.c
@@ -64,8 +64,6 @@ static const gchar *available_flags[] = {
N_("Review"),
};
-static gint num_available_flags = sizeof (available_flags) / sizeof (available_flags[0]);
-
static MessageTagEditorClass *parent_class = NULL;
GType
@@ -307,7 +305,7 @@ construct (MessageTagEditor *editor)
followup->combo_entry = GTK_COMBO_BOX (glade_xml_get_widget (gui, "combo"));
gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (followup->combo_entry)));
- for (i = 0; i < num_available_flags; i++)
+ for (i = 0; i < G_N_ELEMENTS (available_flags); i++)
gtk_combo_box_append_text (followup->combo_entry, (gchar *) _(available_flags[i]));
gtk_combo_box_set_active (followup->combo_entry, DEFAULT_FLAG);