diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-08-21 21:40:09 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-21 22:31:22 +0800 |
commit | a1f79e1c8bb3613005f5fe158e23d22290d27403 (patch) | |
tree | f5d8b21ec4678a0d5f26ee5b111f81855e3f9d60 /libempathy/empathy-account-settings.c | |
parent | d458f689738ad5a94b3355fe73c167e469bce2dc (diff) | |
download | gsoc2013-empathy-a1f79e1c8bb3613005f5fe158e23d22290d27403.tar gsoc2013-empathy-a1f79e1c8bb3613005f5fe158e23d22290d27403.tar.gz gsoc2013-empathy-a1f79e1c8bb3613005f5fe158e23d22290d27403.tar.bz2 gsoc2013-empathy-a1f79e1c8bb3613005f5fe158e23d22290d27403.tar.lz gsoc2013-empathy-a1f79e1c8bb3613005f5fe158e23d22290d27403.tar.xz gsoc2013-empathy-a1f79e1c8bb3613005f5fe158e23d22290d27403.tar.zst gsoc2013-empathy-a1f79e1c8bb3613005f5fe158e23d22290d27403.zip |
Use g_strdup instead of casting a const gchar* to a gchar*.
Diffstat (limited to 'libempathy/empathy-account-settings.c')
-rw-r--r-- | libempathy/empathy-account-settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index 6d43c4788..cede5fd9b 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -352,7 +352,7 @@ empathy_account_settings_check_readyness (EmpathyAccountSettings *self) g_free (priv->icon_name); priv->icon_name = - (gchar *) empathy_account_get_icon_name (priv->account); + g_strdup (empathy_account_get_icon_name (priv->account)); } priv->tp_protocol = tp_connection_manager_get_protocol (priv->manager, |