CamelStoreClass: Rename compare_folder_name to equal_folder_name.
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 7 Jul 2012 01:46:18 +0000 (21:46 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 7 Jul 2012 03:06:03 +0000 (23:06 -0400)
commita69bb0384ad8d8663828b7b79cc52f378d700c8a
tree9267d15a351a9ad1e42df0573eafd177ec9bd1aa
parent021fb371e5b8b41e9cd77d1cc5b1c98be6005904
CamelStoreClass: Rename compare_folder_name to equal_folder_name.

CamelStoreClass has the following method:

    GCompareFunc compare_folder_name;

Both the method name and call signature imply this is a strcmp()-style
function where a zero return value means the values are equal.  But in
fact this method is used as an equality test where a zero return value
means the values are NOT equal.

Rename the method and change its call signature like so:

    GEqualFunc equal_folder_name;

This is an API break but clearly a necessary one.
camel/camel-imapx-store.c
camel/camel-store.c
camel/camel-store.h
camel/providers/imap/camel-imap-store.c
camel/providers/local/camel-maildir-store.c
configure.ac