Index: libbalsa/address-entry.c
===================================================================
RCS file: /cvs/gnome/balsa/libbalsa/address-entry.c,v
retrieving revision 1.21
diff -u -r1.21 address-entry.c
--- libbalsa/address-entry.c	2002/02/07 10:00:11	1.21
+++ libbalsa/address-entry.c	2002/02/07 14:01:42
@@ -2042,7 +2042,6 @@
     gint cursor, start, end;
     gboolean found;
     inputData *input;
-    gint tmp_pos;
 
     g_return_if_fail(address_entry != NULL);
     g_return_if_fail(LIBBALSA_IS_ADDRESS_ENTRY(address_entry));
@@ -2103,9 +2102,7 @@
     address_entry->alias_end_pos = end;
     start = editable->selection_start_pos;
     end = editable->selection_end_pos;
-    tmp_pos = 0;
-    gtk_editable_delete_text(editable, 0, -1);
-    gtk_editable_insert_text(editable, show->str, show->len, &tmp_pos);
+    gtk_entry_set_text(GTK_ENTRY(address_entry), show->str);
     gtk_editable_set_position(editable, cursor);
     g_string_free(show, TRUE);
     editable->selection_start_pos = start;
