diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-19 02:42:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-19 03:19:34 +0800 |
commit | c3ea33df618adcf49fc4294454e1ea1745544a62 (patch) | |
tree | d1e1aa3a0f64699060240817f9b4d31e38dec2b2 /modules | |
parent | 2c471d12912c2b9666b3a7194831ac9997b72ce0 (diff) | |
download | gsoc2013-evolution-c3ea33df618adcf49fc4294454e1ea1745544a62.tar gsoc2013-evolution-c3ea33df618adcf49fc4294454e1ea1745544a62.tar.gz gsoc2013-evolution-c3ea33df618adcf49fc4294454e1ea1745544a62.tar.bz2 gsoc2013-evolution-c3ea33df618adcf49fc4294454e1ea1745544a62.tar.lz gsoc2013-evolution-c3ea33df618adcf49fc4294454e1ea1745544a62.tar.xz gsoc2013-evolution-c3ea33df618adcf49fc4294454e1ea1745544a62.tar.zst gsoc2013-evolution-c3ea33df618adcf49fc4294454e1ea1745544a62.zip |
EAddressbookSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/addressbook/e-book-shell-sidebar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/addressbook/e-book-shell-sidebar.c b/modules/addressbook/e-book-shell-sidebar.c index 6e9e3484f9..094e825640 100644 --- a/modules/addressbook/e-book-shell-sidebar.c +++ b/modules/addressbook/e-book-shell-sidebar.c @@ -94,7 +94,7 @@ book_shell_sidebar_constructed (GObject *object) EShellBackend *shell_backend; EShellSidebar *shell_sidebar; EShellSettings *shell_settings; - ESourceRegistry *registry; + EClientCache *client_cache; GtkContainer *container; GtkWidget *widget; @@ -123,8 +123,8 @@ book_shell_sidebar_constructed (GObject *object) container = GTK_CONTAINER (widget); - registry = e_shell_get_registry (shell); - widget = e_addressbook_selector_new (registry); + client_cache = e_shell_get_client_cache (shell); + widget = e_addressbook_selector_new (client_cache); gtk_container_add (GTK_CONTAINER (container), widget); priv->selector = g_object_ref (widget); gtk_widget_show (widget); @@ -136,7 +136,7 @@ book_shell_sidebar_constructed (GObject *object) G_BINDING_SYNC_CREATE, (GBindingTransformFunc) e_binding_transform_uid_to_source, (GBindingTransformFunc) e_binding_transform_source_to_uid, - g_object_ref (registry), + e_client_cache_ref_registry (client_cache), (GDestroyNotify) g_object_unref); } |