aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-private.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-02 02:25:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-02 03:24:00 +0800
commit0dc9aae35b1032c04f1de5a8eb2aff77550d7897 (patch)
tree56bf423a22e8fcd1ed02a0435d7cf171a879dff0 /composer/e-composer-private.c
parent9528240fe85b084143db3f6be003b97555e480cb (diff)
downloadgsoc2013-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 'composer/e-composer-private.c')
-rw-r--r--composer/e-composer-private.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index 2e44aa1aa9..90ff2037c8 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -141,7 +141,7 @@ e_composer_private_constructed (EMsgComposer *composer)
EFocusTracker *focus_tracker;
EShell *shell;
EWebViewGtkHTML *web_view;
- ESourceRegistry *registry;
+ EClientCache *client_cache;
GtkhtmlEditor *editor;
GtkUIManager *ui_manager;
GtkAction *action;
@@ -161,7 +161,7 @@ e_composer_private_constructed (EMsgComposer *composer)
settings = g_settings_new ("org.gnome.evolution.mail");
shell = e_msg_composer_get_shell (composer);
- registry = e_shell_get_registry (shell);
+ client_cache = e_shell_get_client_cache (shell);
web_view = e_msg_composer_get_web_view (composer);
/* Each composer window gets its own window group. */
@@ -245,7 +245,7 @@ e_composer_private_constructed (EMsgComposer *composer)
/* Construct the header table. */
- widget = e_composer_header_table_new (shell, registry);
+ widget = e_composer_header_table_new (shell, client_cache);
gtk_container_set_border_width (GTK_CONTAINER (widget), 6);
gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
gtk_box_reorder_child (GTK_BOX (container), widget, 2);