diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2013-08-26 09:29:05 -0400 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2013-08-26 09:29:05 -0400 |
| commit | e383cd6b898ce2ed899f388bdc6edf1f39a4e88d (patch) | |
| tree | c9e4e85b53a5ab0a321d3d78a47fe71973865d43 /camel/camel-imapx-utils.c | |
| parent | 3abf564b3536cfcfd857261d3cc0902fac14e912 (diff) | |
| download | evolution-data-server-e383cd6b898ce2ed899f388bdc6edf1f39a4e88d.tar.gz | |
camel_imapx_mailbox_is_inbox: Minor cleanup.
Rename 'mailbox' parameter to 'mailbox_name'.
Diffstat (limited to 'camel/camel-imapx-utils.c')
| -rw-r--r-- | camel/camel-imapx-utils.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/camel/camel-imapx-utils.c b/camel/camel-imapx-utils.c index 6fe7b9ef9..984d7c009 100644 --- a/camel/camel-imapx-utils.c +++ b/camel/camel-imapx-utils.c @@ -2549,21 +2549,23 @@ camel_imapx_parse_mailbox (CamelIMAPXStream *is, /** * camel_imapx_mailbox_is_inbox: - * @mailbox: a mailbox name + * @mailbox_name: a mailbox name * - * Returns whether @mailbox is the special mailbox INBOX. The function just - * performs a case-insensitive string comparsion; it's more for readability. + * Returns whether @mailbox_name is the special mailbox INBOX. * - * Returns: %TRUE if @mailbox is INBOX, %FALSE if not + * The function just performs a case-insensitive string comparsion; it's + * more for readability. + * + * Returns: %TRUE if @mailbox_name is INBOX, %FALSE if not * * Since: 3.10 **/ gboolean -camel_imapx_mailbox_is_inbox (const gchar *mailbox) +camel_imapx_mailbox_is_inbox (const gchar *mailbox_name) { - g_return_val_if_fail (mailbox != NULL, FALSE); + g_return_val_if_fail (mailbox_name != NULL, FALSE); - return (g_ascii_strcasecmp (mailbox, "INBOX") == 0); + return (g_ascii_strcasecmp (mailbox_name, "INBOX") == 0); } gboolean |
