[evolution-kolab] libekolabconv: use gssize instead of gint for number of bytes
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab] libekolabconv: use gssize instead of gint for number of bytes
- Date: Fri, 21 Sep 2012 15:12:45 +0000 (UTC)
commit c5ad8f64958abd54e155cd7c9ec9ce2aad922e81
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Fri Sep 21 16:33:42 2012 +0200
libekolabconv: use gssize instead of gint for number of bytes
* in kolabconv_cal_util_freebusy_ecalcomp_new_from_ics(),
the 'len' param is the length of a GByteArray, so we
better use type gssize there instead of gint
* applied header file cosmetics
src/libekolabconv/main/src/kolab-conv.c | 2 +-
src/libekolabconv/main/src/kolab-conv.h | 15 ++++++++++-----
2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/src/libekolabconv/main/src/kolab-conv.c b/src/libekolabconv/main/src/kolab-conv.c
index 241ca89..99a26fd 100644
--- a/src/libekolabconv/main/src/kolab-conv.c
+++ b/src/libekolabconv/main/src/kolab-conv.c
@@ -162,7 +162,7 @@ kolabconv_cal_util_freebusy_new_fb_url (const gchar *servername,
*/
ECalComponent*
kolabconv_cal_util_freebusy_ecalcomp_new_from_ics (const gchar *ics_string,
- gint nbytes,
+ gssize nbytes,
GError **err)
{
ECalComponent *ecalcomp = NULL;
diff --git a/src/libekolabconv/main/src/kolab-conv.h b/src/libekolabconv/main/src/kolab-conv.h
index d45f1c5..7df166c 100644
--- a/src/libekolabconv/main/src/kolab-conv.h
+++ b/src/libekolabconv/main/src/kolab-conv.h
@@ -157,11 +157,16 @@ ECalComponentWithTZ* kolabconv_knote_to_enote (const Kolab_conv_mail*, GError**)
Kolab_conv_mail* kolabconv_enote_to_knote (const ECalComponentWithTZ*, GError**);
/* functions for the handling of free/busy URLs */
-gchar* kolabconv_cal_util_freebusy_new_fb_url (const gchar *servername,
- const gchar *username, gboolean use_ssl,
- Kolab_conv_freebusy_type listtype);
-
-ECalComponent* kolabconv_cal_util_freebusy_ecalcomp_new_from_ics (const gchar *ics_string, gint nbytes, GError **err);
+gchar*
+kolabconv_cal_util_freebusy_new_fb_url (const gchar *servername,
+ const gchar *username,
+ gboolean use_ssl,
+ Kolab_conv_freebusy_type listtype);
+
+ECalComponent*
+kolabconv_cal_util_freebusy_ecalcomp_new_from_ics (const gchar *ics_string,
+ gssize nbytes,
+ GError **err);
/* functions to free data structures */
void kolabconv_free_econtact(EContact *econtact);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]