aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-04-18 09:12:47 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-05-05 15:12:27 +0800
commitf8c157d0188f3c8244b74d4d07fc4f85b7ef1079 (patch)
tree8b3164799dd33c82aa86a9afefdcfd3c919029c6
parentd4597e973a5eef6389f0900c3cea91d73e7c9873 (diff)
downloadgsoc2013-empathy-f8c157d0188f3c8244b74d4d07fc4f85b7ef1079.tar
gsoc2013-empathy-f8c157d0188f3c8244b74d4d07fc4f85b7ef1079.tar.gz
gsoc2013-empathy-f8c157d0188f3c8244b74d4d07fc4f85b7ef1079.tar.bz2
gsoc2013-empathy-f8c157d0188f3c8244b74d4d07fc4f85b7ef1079.tar.lz
gsoc2013-empathy-f8c157d0188f3c8244b74d4d07fc4f85b7ef1079.tar.xz
gsoc2013-empathy-f8c157d0188f3c8244b74d4d07fc4f85b7ef1079.tar.zst
gsoc2013-empathy-f8c157d0188f3c8244b74d4d07fc4f85b7ef1079.zip
Use pointless g* types for consistency
-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 */