[evolution-data-server] Fix definition of CamelProvider.url_equal().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix definition of CamelProvider.url_equal().
- Date: Fri, 29 Apr 2011 14:58:20 +0000 (UTC)
commit 5b1ab7d24b4372fdbab58fe40071f92069e9a864
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Apr 29 10:14:01 2011 -0400
Fix definition of CamelProvider.url_equal().
Functions of type GCompareFunc are supposed to return -1/0/1 as in
strcmp(). CamelProvider.url_equal() should instead be a GEqualFunc
since it returns TRUE or FALSE.
Function signatures are identical except for the return type, but
gboolean is a type of gint so no changes required for providers.
camel/camel-provider.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-provider.h b/camel/camel-provider.h
index 8645685..cd11cf6 100644
--- a/camel/camel-provider.h
+++ b/camel/camel-provider.h
@@ -224,7 +224,7 @@ typedef struct {
GList *authtypes;
GHashFunc url_hash;
- GCompareFunc url_equal;
+ GEqualFunc url_equal;
/* gettext translation domain (NULL for providers in the
* evolution source tree).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]