diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-04-15 02:32:57 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-04-15 02:32:57 +0800 |
commit | 4279d2042844fddc4429b8690a550778740222e3 (patch) | |
tree | a035b753a0eab170f5354dcfdfea21f7b74fc2c2 /mail/em-format.c | |
parent | 942cdf2df9091e347e09c25d62015e77775f38b6 (diff) | |
download | gsoc2013-evolution-4279d2042844fddc4429b8690a550778740222e3.tar gsoc2013-evolution-4279d2042844fddc4429b8690a550778740222e3.tar.gz gsoc2013-evolution-4279d2042844fddc4429b8690a550778740222e3.tar.bz2 gsoc2013-evolution-4279d2042844fddc4429b8690a550778740222e3.tar.lz gsoc2013-evolution-4279d2042844fddc4429b8690a550778740222e3.tar.xz gsoc2013-evolution-4279d2042844fddc4429b8690a550778740222e3.tar.zst gsoc2013-evolution-4279d2042844fddc4429b8690a550778740222e3.zip |
Commit some code cleanups that I want to keep separate.
svn path=/branches/kill-bonobo/; revision=37522
Diffstat (limited to 'mail/em-format.c')
-rw-r--r-- | mail/em-format.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/mail/em-format.c b/mail/em-format.c index 95db7daeec..27c627a185 100644 --- a/mail/em-format.c +++ b/mail/em-format.c @@ -111,23 +111,6 @@ emf_insert_cache(EMFormat *emf, const char *partid) } static void -emf_init (EMFormat *emf) -{ - emf->inline_table = g_hash_table_new_full ( - g_str_hash, g_str_equal, - (GDestroyNotify) NULL, - (GDestroyNotify) emf_free_cache); - emf->composer = FALSE; - emf->print = FALSE; - e_dlist_init(&emf->header_list); - em_format_default_headers(emf); - emf->part_id = g_string_new(""); - - emf->session = session; - camel_object_ref (emf->session); -} - -static void emf_finalize (GObject *object) { EMFormat *emf = EM_FORMAT (object); @@ -184,6 +167,23 @@ emf_class_init (EMFormatClass *class) emf_builtin_init (class); } +static void +emf_init (EMFormat *emf) +{ + emf->inline_table = g_hash_table_new_full ( + g_str_hash, g_str_equal, + (GDestroyNotify) NULL, + (GDestroyNotify) emf_free_cache); + emf->composer = FALSE; + emf->print = FALSE; + e_dlist_init(&emf->header_list); + em_format_default_headers(emf); + emf->part_id = g_string_new(""); + + emf->session = session; + camel_object_ref (emf->session); +} + GType em_format_get_type (void) { |