aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-08-21 21:40:09 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-21 22:31:22 +0800
commita1f79e1c8bb3613005f5fe158e23d22290d27403 (patch)
treef5d8b21ec4678a0d5f26ee5b111f81855e3f9d60 /libempathy
parentd458f689738ad5a94b3355fe73c167e469bce2dc (diff)
downloadgsoc2013-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')
-rw-r--r--libempathy/empathy-account-settings.c2
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,