aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-settings.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-07 15:59:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-07 18:04:23 +0800
commit9d8d7a2e4f9cd772fe69dae15c4c21728e974df3 (patch)
tree17a2409f7b366531c7e54164a5ab4df795190804 /libempathy/empathy-account-settings.h
parentd51deb6864802a780f7d013dda5bb3c715768bfc (diff)
downloadgsoc2013-empathy-9d8d7a2e4f9cd772fe69dae15c4c21728e974df3.tar.gz
gsoc2013-empathy-9d8d7a2e4f9cd772fe69dae15c4c21728e974df3.tar.zst
gsoc2013-empathy-9d8d7a2e4f9cd772fe69dae15c4c21728e974df3.zip
remove empathy_account_settings_set_* functions
They don't buy us much so let's just pass the GVariant directly. Fix some string leaks in empathy-account-widget-irc.c as well. https://bugzilla.gnome.org/show_bug.cgi?id=677545
Diffstat (limited to 'libempathy/empathy-account-settings.h')
-rw-r--r--libempathy/empathy-account-settings.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/libempathy/empathy-account-settings.h b/libempathy/empathy-account-settings.h
index a4672751b..fef328276 100644
--- a/libempathy/empathy-account-settings.h
+++ b/libempathy/empathy-account-settings.h
@@ -126,23 +126,9 @@ guint64 empathy_account_settings_get_uint64 (EmpathyAccountSettings *settings,
gboolean empathy_account_settings_get_boolean (EmpathyAccountSettings *settings,
const gchar *param);
-void empathy_account_settings_set_string (EmpathyAccountSettings *settings,
- const gchar *param, const gchar *value);
-void empathy_account_settings_set_strv (EmpathyAccountSettings *settings,
+void empathy_account_settings_set (EmpathyAccountSettings *settings,
const gchar *param,
- const gchar * const *value);
-
-void empathy_account_settings_set_int32 (EmpathyAccountSettings *settings,
- const gchar *param, gint32 value);
-void empathy_account_settings_set_int64 (EmpathyAccountSettings *settings,
- const gchar *param, gint64 value);
-void empathy_account_settings_set_uint32 (EmpathyAccountSettings *settings,
- const gchar *param, guint32 value);
-void empathy_account_settings_set_uint64 (EmpathyAccountSettings *settings,
- const gchar *param, guint64 value);
-
-void empathy_account_settings_set_boolean (EmpathyAccountSettings *settings,
- const gchar *param, gboolean value);
+ GVariant *v);
gchar *empathy_account_settings_get_icon_name (
EmpathyAccountSettings *settings);