[empathy/mc5: 474/483] Use g_strdup instead of casting a const gchar* to a gchar*.
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5: 474/483] Use g_strdup instead of casting a const gchar* to a gchar*.
- Date: Fri, 21 Aug 2009 17:22:11 +0000 (UTC)
commit a1f79e1c8bb3613005f5fe158e23d22290d27403
Author: Xavier Claessens <xclaesse gmail com>
Date: Fri Aug 21 15:40:09 2009 +0200
Use g_strdup instead of casting a const gchar* to a gchar*.
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 6d43c47..cede5fd 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]