diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-02 02:25:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-02 03:24:00 +0800 |
commit | 0dc9aae35b1032c04f1de5a8eb2aff77550d7897 (patch) | |
tree | 56bf423a22e8fcd1ed02a0435d7cf171a879dff0 /calendar | |
parent | 9528240fe85b084143db3f6be003b97555e480cb (diff) | |
download | gsoc2013-evolution-0dc9aae35b1032c04f1de5a8eb2aff77550d7897.tar gsoc2013-evolution-0dc9aae35b1032c04f1de5a8eb2aff77550d7897.tar.gz gsoc2013-evolution-0dc9aae35b1032c04f1de5a8eb2aff77550d7897.tar.bz2 gsoc2013-evolution-0dc9aae35b1032c04f1de5a8eb2aff77550d7897.tar.lz gsoc2013-evolution-0dc9aae35b1032c04f1de5a8eb2aff77550d7897.tar.xz gsoc2013-evolution-0dc9aae35b1032c04f1de5a8eb2aff77550d7897.tar.zst gsoc2013-evolution-0dc9aae35b1032c04f1de5a8eb2aff77550d7897.zip |
EComposeHeaderTable: Replace "registry" property with "client-cache".
The ESourceRegistry can still be obtained from the EClientCache:
client_cache = e_composer_header_table_ref_client_cache (table);
registry = e_client_cache_ref_registry (client_cache);
...
g_object_unref (client_cache);
g_object_unref (registry);
Added functions:
e_composer_header_table_ref_client_cache()
Removed functions:
e_composer_header_table_get_registry()
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/itip-utils.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 0ae5b45e5e..beb62b9189 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -1630,10 +1630,12 @@ setup_from (ECalComponentItipMethod method, ECalClient *cal_client, EComposerHeaderTable *table) { + EClientCache *client_cache; ESourceRegistry *registry; ESource *source = NULL; - registry = e_composer_header_table_get_registry (table); + client_cache = e_composer_header_table_ref_client_cache (table); + registry = e_client_cache_ref_registry (client_cache); /* always use organizer's email when user is an organizer */ if (itip_organizer_is_user (registry, comp, cal_client)) { @@ -1663,6 +1665,9 @@ setup_from (ECalComponentItipMethod method, g_object_unref (source); } + + g_object_unref (client_cache); + g_object_unref (registry); } gboolean |