aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-utils.c8
-rw-r--r--libempathy/empathy-utils.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 8febc8b42..18b7dee69 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 79d6ba355..ac44535b8 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 */