diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-05 03:56:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 03:01:04 +0800 |
commit | 13f4544dafe211a748b064b86a8af4085d042b2b (patch) | |
tree | 2d7d421306bd37aefc7edbd10b5a0599e961d690 /mail/e-http-request.c | |
parent | aebf88cc8e3f45f8603a4706877dc59706be4963 (diff) | |
download | gsoc2013-evolution-13f4544dafe211a748b064b86a8af4085d042b2b.tar gsoc2013-evolution-13f4544dafe211a748b064b86a8af4085d042b2b.tar.gz gsoc2013-evolution-13f4544dafe211a748b064b86a8af4085d042b2b.tar.bz2 gsoc2013-evolution-13f4544dafe211a748b064b86a8af4085d042b2b.tar.lz gsoc2013-evolution-13f4544dafe211a748b064b86a8af4085d042b2b.tar.xz gsoc2013-evolution-13f4544dafe211a748b064b86a8af4085d042b2b.tar.zst gsoc2013-evolution-13f4544dafe211a748b064b86a8af4085d042b2b.zip |
EMailFormatter: Simplify context allocation.
Replace the create_context() and free_context() class methods with a
"context_size" class member defaulting to sizeof(EMailFormatterContext).
EMailFormatter will use "context_size" to allocate a zero-filled slab of
heap memory. Since EMailFormatterQuote is currently the only thing that
overrides the "context_size" (to append a "qf_flags" member), let's keep
this simple.
Diffstat (limited to 'mail/e-http-request.c')
0 files changed, 0 insertions, 0 deletions