From 576a04e67d0f059992afbb1afdca67fb668288f4 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Sat, 15 Sep 2001 07:18:16 +0000 Subject: We can't use NULL as the first arg for e_addressbook_show_contact_editor 2001-09-15 Jon Trowbridge * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): We can't use NULL as the first arg for e_addressbook_show_contact_editor anymore. Damn. (#8535) svn path=/trunk/; revision=12853 --- addressbook/gui/component/select-names/e-select-names-text-model.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/component') 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 782b7ebb90..d2e77d6316 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 @@ -728,10 +728,10 @@ e_select_names_text_model_activate_obj (ETextModel *model, gint n) g_return_if_fail (i >= 0); card = e_select_names_model_get_card (source, i); - g_return_if_fail (card); + g_return_if_fail (card != NULL); /* present read-only contact editor when someone double clicks from here */ - contact_editor = e_addressbook_show_contact_editor (NULL, card, FALSE, FALSE); + contact_editor = e_addressbook_show_contact_editor (e_card_get_book (card), card, FALSE, FALSE); e_contact_editor_raise (contact_editor); } -- cgit v1.2.3