aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 19:43:02 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 19:43:02 +0800
commitb5c916cfcee92d2c20d4ee25889dd56d9abb8721 (patch)
tree7e2acd0ef040b662721001de6e077ba36e82fa37
parentd3c850f72226ae5b9a6d0cdaf357d81f0fd261d1 (diff)
downloadgsoc2013-empathy-b5c916cfcee92d2c20d4ee25889dd56d9abb8721.tar
gsoc2013-empathy-b5c916cfcee92d2c20d4ee25889dd56d9abb8721.tar.gz
gsoc2013-empathy-b5c916cfcee92d2c20d4ee25889dd56d9abb8721.tar.bz2
gsoc2013-empathy-b5c916cfcee92d2c20d4ee25889dd56d9abb8721.tar.lz
gsoc2013-empathy-b5c916cfcee92d2c20d4ee25889dd56d9abb8721.tar.xz
gsoc2013-empathy-b5c916cfcee92d2c20d4ee25889dd56d9abb8721.tar.zst
gsoc2013-empathy-b5c916cfcee92d2c20d4ee25889dd56d9abb8721.zip
empathy_status_reason_get_default_message can be static now
-rw-r--r--libempathy/empathy-utils.c2
-rw-r--r--libempathy/empathy-utils.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index ee6ad5bd4..939b32897 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -284,7 +284,7 @@ empathy_presence_from_str (const gchar *str)
return TP_CONNECTION_PRESENCE_TYPE_UNSET;
}
-const gchar *
+static const gchar *
empathy_status_reason_get_default_message (TpConnectionStatusReason reason)
{
switch (reason) {
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h
index 340705545..9930e6536 100644
--- a/libempathy/empathy-utils.h
+++ b/libempathy/empathy-utils.h
@@ -75,7 +75,6 @@ guint empathy_proxy_hash (gconstpointer key);
gboolean empathy_check_available_state (void);
gint empathy_uint_compare (gconstpointer a,
gconstpointer b);
-const gchar * empathy_status_reason_get_default_message (TpConnectionStatusReason reason);
const gchar * empathy_account_get_error_message (TpAccount *account,
TpConnectionStatusReason reason);