From 9b8230a24c15f594069fec206bd93be86a502b9c Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 11 Apr 2001 07:50:57 +0000 Subject: Added E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING. 2001-04-11 Christopher James Lahey * backend/ebook/e-card-simple.h: Added E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING. * gui/component/addressbook-component.c (accepted_dnd_types): Fixed a warning here. * gui/widgets/e-addressbook-model.c: Modified this to have more columns, but not let them be edited if they're not a simple string. * gui/widgets/e-minicard-view.c (e_minicard_view_init): Fixed a warning and a memory leak here. svn path=/trunk/; revision=9230 --- addressbook/gui/component/addressbook-component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/component/addressbook-component.c') diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index 69815d9e83..250d13dc36 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -48,14 +48,14 @@ addressbook_component_get_shell_client (void) static BonoboGenericFactory *factory = NULL; -static const char *accepted_dnd_types[] = { +static char *accepted_dnd_types[] = { "text/x-vcard", NULL }; static const EvolutionShellComponentFolderType folder_types[] = { { "contacts", "evolution-contacts.png", accepted_dnd_types }, - { NULL, NULL } + { NULL, NULL, NULL, NULL } }; -- cgit v1.2.3