From e496f94b0433b22e1ecdf35328bcaf16b4abb6a4 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 4 May 2010 13:14:01 -0500 Subject: Add function to count the displayed accounts in an EAccountComboBox We will need this to see how many accounts are shown in the From header in the mail composer. Signed-off-by: Federico Mena Quintero --- widgets/misc/e-account-combo-box.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/misc/e-account-combo-box.h') diff --git a/widgets/misc/e-account-combo-box.h b/widgets/misc/e-account-combo-box.h index 12d4be6c72..60078690e9 100644 --- a/widgets/misc/e-account-combo-box.h +++ b/widgets/misc/e-account-combo-box.h @@ -78,6 +78,8 @@ gboolean e_account_combo_box_set_active_name (EAccountComboBox *combo_box, const gchar *account_name); +int e_account_combo_box_count_displayed_accounts (EAccountComboBox *combo_box); + G_END_DECLS #endif /* E_ACCOUNT_COMBO_BOX_H */ -- cgit v1.2.3 From 96538878911586a9e9ca26b81e1916c04e538980 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 25 May 2010 10:15:32 -0400 Subject: Coding style and whitespace cleanup. --- widgets/misc/e-account-combo-box.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/misc/e-account-combo-box.h') diff --git a/widgets/misc/e-account-combo-box.h b/widgets/misc/e-account-combo-box.h index 60078690e9..c3fe4aa0f8 100644 --- a/widgets/misc/e-account-combo-box.h +++ b/widgets/misc/e-account-combo-box.h @@ -78,7 +78,7 @@ gboolean e_account_combo_box_set_active_name (EAccountComboBox *combo_box, const gchar *account_name); -int e_account_combo_box_count_displayed_accounts (EAccountComboBox *combo_box); +gint e_account_combo_box_count_displayed_accounts (EAccountComboBox *combo_box); G_END_DECLS -- cgit v1.2.3