]> git.0d.be Git - empathy.git/commitdiff
Use g_strdup instead of casting a const gchar* to a gchar*.
authorXavier Claessens <xclaesse@gmail.com>
Fri, 21 Aug 2009 13:40:09 +0000 (15:40 +0200)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 21 Aug 2009 14:31:22 +0000 (15:31 +0100)
libempathy/empathy-account-settings.c

index 6d43c478878dd6013c5b22084100312dc4c40d2f..cede5fd9be8b216cb33ecd7cd797b0528d12d0a0 100644 (file)
@@ -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,