From fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 27 May 2009 11:13:25 -0400 Subject: Prefer GLib basic types over C types. --- widgets/table/e-table-extras.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'widgets/table/e-table-extras.c') diff --git a/widgets/table/e-table-extras.c b/widgets/table/e-table-extras.c index 0099b23656..78513792f8 100644 --- a/widgets/table/e-table-extras.c +++ b/widgets/table/e-table-extras.c @@ -83,8 +83,8 @@ ete_class_init (ETableExtrasClass *klass) static gint e_strint_compare(gconstpointer data1, gconstpointer data2) { - int int1 = atoi(data1); - int int2 = atoi(data2); + gint int1 = atoi(data1); + gint int2 = atoi(data2); return e_int_compare(GINT_TO_POINTER(int1), GINT_TO_POINTER(int2)); } @@ -124,9 +124,9 @@ g_utf8_strncasecmp (const gchar *s1, } static gboolean -e_string_search(gconstpointer haystack, const char *needle) +e_string_search(gconstpointer haystack, const gchar *needle) { - int length; + gint length; if (haystack == NULL) return FALSE; -- cgit