camel_imapx_mailbox_is_inbox: Minor cleanup.
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 26 Aug 2013 13:29:05 +0000 (09:29 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 26 Aug 2013 13:29:05 +0000 (09:29 -0400)
Rename 'mailbox' parameter to 'mailbox_name'.

camel/camel-imapx-utils.c
camel/camel-imapx-utils.h

index 6fe7b9e..984d7c0 100644 (file)
@@ -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
index 1999e1c..7e99f76 100644 (file)
@@ -321,7 +321,7 @@ gboolean    camel_imapx_command_add_qresync_parameter
 gchar *                camel_imapx_parse_mailbox       (struct _CamelIMAPXStream *is,
                                                 GCancellable *cancellable,
                                                 GError **error);
-gboolean       camel_imapx_mailbox_is_inbox    (const gchar *mailbox);
+gboolean       camel_imapx_mailbox_is_inbox    (const gchar *mailbox_name);
 
 /* ********************************************************************** */