aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/e-address-popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/e-address-popup.c')
-rw-r--r--addressbook/gui/component/e-address-popup.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/addressbook/gui/component/e-address-popup.c b/addressbook/gui/component/e-address-popup.c
index 540d1fc734..976191eaef 100644
--- a/addressbook/gui/component/e-address-popup.c
+++ b/addressbook/gui/component/e-address-popup.c
@@ -753,9 +753,7 @@ e_address_popup_refresh_names (EAddressPopup *pop)
{
if (pop->name_widget) {
if (pop->name && *pop->name) {
- gchar *s = e_utf8_to_gtk_string (pop->name_widget, pop->name);
- gtk_label_set_text (GTK_LABEL (pop->name_widget), s);
- g_free (s);
+ gtk_label_set_text (GTK_LABEL (pop->name_widget), pop->name);
gtk_widget_show (pop->name_widget);
} else {
gtk_widget_hide (pop->name_widget);
@@ -764,9 +762,7 @@ e_address_popup_refresh_names (EAddressPopup *pop)
if (pop->email_widget) {
if (pop->email && *pop->email) {
- gchar *s = e_utf8_to_gtk_string (pop->email_widget, pop->email);
- gtk_label_set_text (GTK_LABEL (pop->email_widget), s);
- g_free (s);
+ gtk_label_set_text (GTK_LABEL (pop->email_widget), pop->email);
gtk_widget_show (pop->email_widget);
} else {
gtk_widget_hide (pop->email_widget);