aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names-text-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-text-model.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-text-model.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-text-model.c b/addressbook/gui/component/select-names/e-select-names-text-model.c
index 5983ccb93d..13054eb10e 100644
--- a/addressbook/gui/component/select-names/e-select-names-text-model.c
+++ b/addressbook/gui/component/select-names/e-select-names-text-model.c
@@ -296,8 +296,9 @@ e_select_names_text_model_activate_obj (ETextModel *model, gint n)
data = e_iterator_get (iterator);
card = E_CARD (data->card);
-
- contact_editor = e_contact_editor_new (card, FALSE);
+
+ /* FIXME: const incorrectness here. */
+ contact_editor = e_contact_editor_new ((ECard *) card, FALSE);
e_contact_editor_raise (contact_editor);
}