[empathy] make empathy_account_settings_get() static
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] make empathy_account_settings_get() static
- Date: Thu, 7 Jun 2012 07:14:00 +0000 (UTC)
commit 18de9f76fa8ec188b5805a8b2c78aa8bbd80f4f6
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jun 6 14:22:35 2012 +0200
make empathy_account_settings_get() static
https://bugzilla.gnome.org/show_bug.cgi?id=677545
libempathy/empathy-account-settings.c | 6 +++++-
libempathy/empathy-account-settings.h | 3 ---
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index e37b098..c7088b0 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -492,6 +492,10 @@ empathy_account_settings_migrate_password_cb (GObject *source,
g_hash_table_unref (empty);
}
+static const GValue * empathy_account_settings_get (
+ EmpathyAccountSettings *settings,
+ const gchar *param);
+
static void
empathy_account_settings_try_migrating_password (EmpathyAccountSettings *self)
{
@@ -856,7 +860,7 @@ empathy_account_settings_get_dbus_signature (EmpathyAccountSettings *settings,
return tp_connection_manager_param_get_dbus_signature (p);
}
-const GValue *
+static const GValue *
empathy_account_settings_get (EmpathyAccountSettings *settings,
const gchar *param)
{
diff --git a/libempathy/empathy-account-settings.h b/libempathy/empathy-account-settings.h
index baa0ad7..9e091c3 100644
--- a/libempathy/empathy-account-settings.h
+++ b/libempathy/empathy-account-settings.h
@@ -100,9 +100,6 @@ void empathy_account_settings_unset (EmpathyAccountSettings *settings,
void empathy_account_settings_discard_changes (
EmpathyAccountSettings *settings);
-const GValue *empathy_account_settings_get (EmpathyAccountSettings *settings,
- const gchar *param);
-
const gchar *
empathy_account_settings_get_dbus_signature (EmpathyAccountSettings *setting,
const gchar *param);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]