aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@novell.com>2005-12-09 19:01:23 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2005-12-09 19:01:23 +0800
commitc1b0b713ca6f6d18b9c4fef9e2dd2e36a40c9905 (patch)
tree7701c8598749a462744bbfa9dbd2672c08acd39c /e-util
parent75f8d193c4e79bda653b2d0d96856117f1d5d3d3 (diff)
downloadgsoc2013-evolution-c1b0b713ca6f6d18b9c4fef9e2dd2e36a40c9905.tar.gz
gsoc2013-evolution-c1b0b713ca6f6d18b9c4fef9e2dd2e36a40c9905.tar.zst
gsoc2013-evolution-c1b0b713ca6f6d18b9c4fef9e2dd2e36a40c9905.zip
prefix the wrapper functions with e - do not use g lest it is assumed to
2005-12-09 Harish Krishnaswamy <kharish@novell.com> * e-util.[ch] (e_str_compare), (e_str_case_compare), (e_collate_compare), (e_int_compare): prefix the wrapper functions with e - do not use g lest it is assumed to be a glib function. * e-table-example-2.c (create_table), e-table-extras.c (ete_init): * e-table-size-test.c (create_table), test-check.c (check_test): * test-cols.c (multi_cols_test), test-table.c (table_browser_test): s/g_*_compare/e_*_compare. svn path=/trunk/; revision=30739
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-util.c8
-rw-r--r--e-util/e-util.h8
3 files changed, 15 insertions, 8 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index fe3b5357a0..ae2a0a7a44 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,10 @@
+2005-12-09 Harish Krishnaswamy <kharish@novell.com>
+
+ * e-util.[ch] (e_str_compare), (e_str_case_compare),
+ (e_collate_compare), (e_int_compare): prefix the wrapper
+ functions with e - do not use g lest it is assumed to
+ be a glib function.
+
2005-11-26 Tor Lillqvist <tml@novell.com>
* e-dialog-utils.c
diff --git a/e-util/e-util.c b/e-util/e-util.c
index f1444a2a64..5b7875293d 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -49,7 +49,7 @@
#include "e-util-private.h"
int
-g_str_compare (const void *x, const void *y)
+e_str_compare (const void *x, const void *y)
{
if (x == NULL || y == NULL) {
if (x == y)
@@ -62,7 +62,7 @@ g_str_compare (const void *x, const void *y)
}
int
-g_str_case_compare (const void *x, const void *y)
+e_str_case_compare (const void *x, const void *y)
{
if (x == NULL || y == NULL) {
if (x == y)
@@ -75,7 +75,7 @@ g_str_case_compare (const void *x, const void *y)
}
int
-g_collate_compare (const void *x, const void *y)
+e_collate_compare (const void *x, const void *y)
{
if (x == NULL || y == NULL) {
if (x == y)
@@ -88,7 +88,7 @@ g_collate_compare (const void *x, const void *y)
}
int
-g_int_compare (const void *x, const void *y)
+e_int_compare (const void *x, const void *y)
{
if (GPOINTER_TO_INT (x) < GPOINTER_TO_INT (y))
return -1;
diff --git a/e-util/e-util.h b/e-util/e-util.h
index d665a67052..cc0043c7df 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -137,13 +137,13 @@ typedef enum {
E_FOCUS_START,
E_FOCUS_END
} EFocus;
-int g_str_compare (const void *x,
+int e_str_compare (const void *x,
const void *y);
-int g_str_case_compare (const void *x,
+int e_str_case_compare (const void *x,
const void *y);
-int g_collate_compare (const void *x,
+int e_collate_compare (const void *x,
const void *y);
-int g_int_compare (const void *x,
+int e_int_compare (const void *x,
const void *y);
char *e_strdup_strip (const char *string);
void e_free_object_list (GList *list);