[telepathy-mission-control/master] _mcd_account_set_parameter: make static

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Apr 28 06:14:12 PDT 2009


_mcd_account_set_parameters is the protected entry point for this private
function.
---
 src/mcd-account-priv.h |    3 ---
 src/mcd-account.c      |    2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/mcd-account-priv.h b/src/mcd-account-priv.h
index 2db17f8..35a18be 100644
--- a/src/mcd-account-priv.h
+++ b/src/mcd-account-priv.h
@@ -40,9 +40,6 @@ G_GNUC_INTERNAL gboolean _mcd_account_set_parameters (McdAccount *account,
                                                       GHashTable *params,
                                                       const gchar **unset,
                                                       GError **error);
-G_GNUC_INTERNAL void _mcd_account_set_parameter (McdAccount *account,
-                                                 const gchar *name,
-                                                 const GValue *value);
 
 G_GNUC_INTERNAL void _mcd_account_request_temporary_presence (McdAccount *self,
     TpConnectionPresenceType type, const gchar *status);
diff --git a/src/mcd-account.c b/src/mcd-account.c
index 7b26c57..474093e 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -1278,7 +1278,7 @@ mcd_account_check_parameters (McdAccount *account)
  * Sets the parameter @name to the value in @value. If @value, is %NULL, the
  * parameter is unset.
  */
-void
+static void
 _mcd_account_set_parameter (McdAccount *account, const gchar *name,
                             const GValue *value)
 {
-- 
1.5.6.5




More information about the telepathy-commits mailing list