From a1f79e1c8bb3613005f5fe158e23d22290d27403 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 21 Aug 2009 15:40:09 +0200 Subject: Use g_strdup instead of casting a const gchar* to a gchar*. --- libempathy/empathy-account-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3