diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-21 01:41:57 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-21 03:35:56 +0800 |
commit | 68ea23e2a6339ef202f5e6ab6c7babe3b0d81c7f (patch) | |
tree | 2a50f11205d46d8ed5ed89f69034f2ebe0ca9357 /libemail-engine/libemail-engine.pc.in | |
parent | 773480a6e3baadbf4598dd2cb9ae0e8e166dd859 (diff) | |
download | gsoc2013-evolution-68ea23e2a6339ef202f5e6ab6c7babe3b0d81c7f.tar gsoc2013-evolution-68ea23e2a6339ef202f5e6ab6c7babe3b0d81c7f.tar.gz gsoc2013-evolution-68ea23e2a6339ef202f5e6ab6c7babe3b0d81c7f.tar.bz2 gsoc2013-evolution-68ea23e2a6339ef202f5e6ab6c7babe3b0d81c7f.tar.lz gsoc2013-evolution-68ea23e2a6339ef202f5e6ab6c7babe3b0d81c7f.tar.xz gsoc2013-evolution-68ea23e2a6339ef202f5e6ab6c7babe3b0d81c7f.tar.zst gsoc2013-evolution-68ea23e2a6339ef202f5e6ab6c7babe3b0d81c7f.zip |
Simplify EABContactFormatter.
Simplify the EABContactFormatter API as follows:
* Drop all constructor arguments from eab_contact_formatter_new()
since get/set functions exist for all of them.
* Remove eab_contact_formatter_format_contact_async() since
EABContactFormatter does not block.
* Replace eab_contact_formatter_format_contact_sync() with
eab_contact_formatter_format_contact() which drops the CamelStream
and GCancellable arguments and takes a GString as an output buffer.
* Remove the "state" and "style" properties, and always use a white
background when rendering the full contact.
This is particularly important since render_normal() dereferenced
the GtkStyle without checking for NULL, which would crash on mails
with a vCard MIME part when "Show Full vCard" was clicked, because
the "vcard-inline" module never set a GtkStyle.
(cherry picked from commit badc0e6156777c65885bad6858a6f44f7cbf037e)
Diffstat (limited to 'libemail-engine/libemail-engine.pc.in')
0 files changed, 0 insertions, 0 deletions