diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-24 19:43:06 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-25 08:31:43 +0800 |
commit | cc8bf823ec514f6ba1f59fa8d8103936fa48d070 (patch) | |
tree | 28123abc136d37a3574e1060d76188e031b5dd12 /em-format/e-mail-part-list.c | |
parent | 728c641c164f23acf43b306d37484888d2318958 (diff) | |
download | gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.gz gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.zst gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'em-format/e-mail-part-list.c')
-rw-r--r-- | em-format/e-mail-part-list.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/em-format/e-mail-part-list.c b/em-format/e-mail-part-list.c index 0ad8a9198f..58ad7aa09d 100644 --- a/em-format/e-mail-part-list.c +++ b/em-format/e-mail-part-list.c @@ -22,7 +22,6 @@ G_DEFINE_TYPE (EMailPartList, e_mail_part_list, G_TYPE_OBJECT) - static CamelObjectBag *registry = NULL; G_LOCK_DEFINE_STATIC (registry); @@ -55,11 +54,11 @@ e_mail_part_list_finalize (GObject *object) } static void -e_mail_part_list_class_init (EMailPartListClass *klass) +e_mail_part_list_class_init (EMailPartListClass *class) { GObjectClass *object_class; - object_class = G_OBJECT_CLASS (klass); + object_class = G_OBJECT_CLASS (class); object_class->finalize = e_mail_part_list_finalize; } @@ -154,7 +153,7 @@ e_mail_part_list_get_registry (void) static void part_list_weak_ref_notify (gchar *mail_uri, - EMailPartList *part_list) + EMailPartList *part_list) { CamelObjectBag *reg = e_mail_part_list_get_registry (); @@ -172,8 +171,8 @@ part_list_weak_ref_notify (gchar *mail_uri, */ void e_mail_part_list_registry_add (CamelObjectBag *registry, - const gchar *mail_uri, - EMailPartList *part_list) + const gchar *mail_uri, + EMailPartList *part_list) { camel_object_bag_add (registry, mail_uri, part_list); @@ -181,4 +180,4 @@ e_mail_part_list_registry_add (CamelObjectBag *registry, G_OBJECT (part_list), (GWeakNotify) part_list_weak_ref_notify, g_strdup (mail_uri)); -}
\ No newline at end of file +} |