[empathy: 7/11] empathy_status_reason_get_default_message can be static now
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 7/11] empathy_status_reason_get_default_message can be static now
- Date: Thu, 5 Aug 2010 12:20:04 +0000 (UTC)
commit b5c916cfcee92d2c20d4ee25889dd56d9abb8721
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Aug 5 13:43:02 2010 +0200
empathy_status_reason_get_default_message can be static now
libempathy/empathy-utils.c | 2 +-
libempathy/empathy-utils.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index ee6ad5b..939b328 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 3407055..9930e65 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]