[empathy: 9/16] Use pointless g* types for consistency



commit f8c157d0188f3c8244b74d4d07fc4f85b7ef1079
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Mon Apr 18 11:12:47 2011 +1000

    Use pointless g* types for consistency

 libempathy/empathy-utils.c |    8 ++++----
 libempathy/empathy-utils.h |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 8febc8b..18b7dee 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -959,10 +959,10 @@ empathy_get_x509_certificate_hostname (gnutls_x509_crt_t cert)
   return NULL;
 }
 
-char *
-empathy_format_currency (int         amount,
-			 guint       scale,
-			 const char *currency)
+gchar *
+empathy_format_currency (gint         amount,
+			 guint        scale,
+			 const gchar *currency)
 {
 #define MINUS "\342\210\222"
 #define EURO "\342\202\254"
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h
index 79d6ba3..ac44535 100644
--- a/libempathy/empathy-utils.h
+++ b/libempathy/empathy-utils.h
@@ -117,7 +117,7 @@ gboolean empathy_folks_persona_is_interesting (FolksPersona *persona);
 
 gchar * empathy_get_x509_certificate_hostname (gnutls_x509_crt_t cert);
 
-char *empathy_format_currency (int amount, guint scale, const char *currency);
+gchar *empathy_format_currency (gint amount, guint scale, const gchar *currency);
 
 /* Copied from wocky/wocky-utils.h */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]