aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-19 19:59:06 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-19 23:07:15 +0800
commit6f47d10791dac97495b73200e05122b6406ea74b (patch)
tree1420b93e52c59975e02903e968c8195720793f46 /src/empathy-accounts-dialog.c
parenteaac8d0b0724b90e6891ae69c3c8937861b8cdc9 (diff)
downloadgsoc2013-empathy-6f47d10791dac97495b73200e05122b6406ea74b.tar
gsoc2013-empathy-6f47d10791dac97495b73200e05122b6406ea74b.tar.gz
gsoc2013-empathy-6f47d10791dac97495b73200e05122b6406ea74b.tar.bz2
gsoc2013-empathy-6f47d10791dac97495b73200e05122b6406ea74b.tar.lz
gsoc2013-empathy-6f47d10791dac97495b73200e05122b6406ea74b.tar.xz
gsoc2013-empathy-6f47d10791dac97495b73200e05122b6406ea74b.tar.zst
gsoc2013-empathy-6f47d10791dac97495b73200e05122b6406ea74b.zip
Cache the icon inside EmpathyAccountSettings
At some point we should set the Icon property in the account manager, for now just cache it in the settings so we can pass it by reference instead of needing to dup it as that's the API we want to have in the future
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index f74de13a9..913239589 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -192,8 +192,6 @@ account_dialog_create_settings_widget (EmpathyAccountsDialog *dialog,
empathy_account_settings_get_protocol (settings));
accounts_dialog_update_name_label (dialog, settings);
-
- g_free (icon_name);
}
static void
@@ -396,8 +394,6 @@ accounts_dialog_model_pixbuf_data_func (GtkTreeViewColumn *tree_column,
icon_name = empathy_account_settings_get_icon_name (settings);
pixbuf = empathy_pixbuf_from_icon_name (icon_name, GTK_ICON_SIZE_BUTTON);
- g_free (icon_name);
-
if (pixbuf)
{
if (status == TP_CONNECTION_STATUS_DISCONNECTED ||