From 879ed4784ca4f90e0992c4627e45965e48c85a6b Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Mon, 22 Aug 2005 10:37:18 +0000 Subject: Using e_contact_get() for E_CONTACT_IS_LIST. See #314152. Patch submitted by "ross@burtonini.com (Ross Burton)". svn path=/trunk/; revision=30197 --- addressbook/gui/widgets/eab-contact-display.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c index 8613d92e3e..d96c1a323d 100644 --- a/addressbook/gui/widgets/eab-contact-display.c +++ b/addressbook/gui/widgets/eab-contact-display.c @@ -412,7 +412,8 @@ eab_contact_display_render_normal (EABContactDisplay *display, EContact *contact gtk_html_stream_write (html_stream, "\n", 7); if (contact) { - char *str, *html; + const char *str; + char *html; EContactPhoto *photo; gtk_html_stream_printf (html_stream, "
"); @@ -437,7 +438,7 @@ eab_contact_display_render_normal (EABContactDisplay *display, EContact *contact } - if (e_contact_get_const (contact, E_CONTACT_IS_LIST)) + if (e_contact_get (contact, E_CONTACT_IS_LIST)) render_contact_list (html_stream, contact); else render_contact (html_stream, contact); @@ -465,7 +466,8 @@ eab_contact_display_render_compact (EABContactDisplay *display, EContact *contac gtk_html_stream_write (html_stream, "\n", 7); if (contact) { - char *str, *html; + const char *str; + char *html; EContactPhoto *photo; gtk_html_stream_printf (html_stream, -- cgit