~ubuntu-branches/ubuntu/quantal/evolution-data-server/quantal-proposed

« back to all changes in this revision

Viewing changes to docs/reference/libedataserver/html/ESourceRegistry.html

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2013-03-21 11:53:01 UTC
  • mfrom: (1.1.108) (183.1.1 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130321115301-dkx3pxlv6xew88d7
Tags: 3.6.4-0ubuntu0.1
* New upstream release. (LP: #1158354)
  - Crash in Contacts calendar backend (LP: #1039594)
  - Empty name selector dialog on open (LP: #1072442)

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
#include <libedataserver/libedataserver.h>
50
50
 
51
51
struct              <a class="link" href="ESourceRegistry.html#ESourceRegistry-struct" title="struct ESourceRegistry">ESourceRegistry</a>;
52
 
<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="returnvalue">ESourceRegistry</span></a> *   <a class="link" href="ESourceRegistry.html#e-source-registry-new-sync" title="e_source_registry_new_sync ()">e_source_registry_new_sync</a>          (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
53
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
54
 
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-new" title="e_source_registry_new ()">e_source_registry_new</a>               (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
55
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
56
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
57
 
<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="returnvalue">ESourceRegistry</span></a> *   <a class="link" href="ESourceRegistry.html#e-source-registry-new-finish" title="e_source_registry_new_finish ()">e_source_registry_new_finish</a>        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
58
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
59
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="ESourceRegistry.html#e-source-registry-authenticate-sync" title="e_source_registry_authenticate_sync ()">e_source_registry_authenticate_sync</a> (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
 
52
<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="returnvalue">ESourceRegistry</span></a> *   <a class="link" href="ESourceRegistry.html#e-source-registry-new-sync" title="e_source_registry_new_sync ()">e_source_registry_new_sync</a>          (<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
53
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
54
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-new" title="e_source_registry_new ()">e_source_registry_new</a>               (<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
55
                                                         <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
 
56
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
 
57
<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="returnvalue">ESourceRegistry</span></a> *   <a class="link" href="ESourceRegistry.html#e-source-registry-new-finish" title="e_source_registry_new_finish ()">e_source_registry_new_finish</a>        (<em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
 
58
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
59
<span class="returnvalue">gboolean</span>            <a class="link" href="ESourceRegistry.html#e-source-registry-authenticate-sync" title="e_source_registry_authenticate_sync ()">e_source_registry_authenticate_sync</a> (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
60
60
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
61
61
                                                         <em class="parameter"><code><a class="link" href="ESourceAuthenticator.html" title="ESourceAuthenticator"><span class="type">ESourceAuthenticator</span></a> *auth</code></em>,
62
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
63
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
62
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
63
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
64
64
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-authenticate" title="e_source_registry_authenticate ()">e_source_registry_authenticate</a>      (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
65
65
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
66
66
                                                         <em class="parameter"><code><a class="link" href="ESourceAuthenticator.html" title="ESourceAuthenticator"><span class="type">ESourceAuthenticator</span></a> *auth</code></em>,
67
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
68
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
69
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
70
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="ESourceRegistry.html#e-source-registry-authenticate-finish" title="e_source_registry_authenticate_finish ()">e_source_registry_authenticate_finish</a>
 
67
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
68
                                                         <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
 
69
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
 
70
<span class="returnvalue">gboolean</span>            <a class="link" href="ESourceRegistry.html#e-source-registry-authenticate-finish" title="e_source_registry_authenticate_finish ()">e_source_registry_authenticate_finish</a>
71
71
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
72
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
73
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
74
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="ESourceRegistry.html#e-source-registry-commit-source-sync" title="e_source_registry_commit_source_sync ()">e_source_registry_commit_source_sync</a>
 
72
                                                         <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
 
73
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
74
<span class="returnvalue">gboolean</span>            <a class="link" href="ESourceRegistry.html#e-source-registry-commit-source-sync" title="e_source_registry_commit_source_sync ()">e_source_registry_commit_source_sync</a>
75
75
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
76
76
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
77
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
78
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
77
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
78
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
79
79
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-commit-source" title="e_source_registry_commit_source ()">e_source_registry_commit_source</a>     (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
80
80
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
81
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
82
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
83
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
84
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="ESourceRegistry.html#e-source-registry-commit-source-finish" title="e_source_registry_commit_source_finish ()">e_source_registry_commit_source_finish</a>
85
 
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
86
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
87
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
88
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="ESourceRegistry.html#e-source-registry-create-sources-sync" title="e_source_registry_create_sources_sync ()">e_source_registry_create_sources_sync</a>
89
 
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
90
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list_of_sources</code></em>,
91
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
92
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
81
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
82
                                                         <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
 
83
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
 
84
<span class="returnvalue">gboolean</span>            <a class="link" href="ESourceRegistry.html#e-source-registry-commit-source-finish" title="e_source_registry_commit_source_finish ()">e_source_registry_commit_source_finish</a>
 
85
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
 
86
                                                         <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
 
87
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
88
<span class="returnvalue">gboolean</span>            <a class="link" href="ESourceRegistry.html#e-source-registry-create-sources-sync" title="e_source_registry_create_sources_sync ()">e_source_registry_create_sources_sync</a>
 
89
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
 
90
                                                         <em class="parameter"><code><span class="type">GList</span> *list_of_sources</code></em>,
 
91
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
92
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
93
93
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-create-sources" title="e_source_registry_create_sources ()">e_source_registry_create_sources</a>    (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
94
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list_of_sources</code></em>,
95
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
96
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
97
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
98
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="ESourceRegistry.html#e-source-registry-create-sources-finish" title="e_source_registry_create_sources_finish ()">e_source_registry_create_sources_finish</a>
 
94
                                                         <em class="parameter"><code><span class="type">GList</span> *list_of_sources</code></em>,
 
95
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
96
                                                         <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
 
97
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
 
98
<span class="returnvalue">gboolean</span>            <a class="link" href="ESourceRegistry.html#e-source-registry-create-sources-finish" title="e_source_registry_create_sources_finish ()">e_source_registry_create_sources_finish</a>
99
99
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
100
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
101
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
100
                                                         <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
 
101
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
102
102
<a class="link" href="ESource.html" title="ESource"><span class="returnvalue">ESource</span></a> *           <a class="link" href="ESourceRegistry.html#e-source-registry-ref-source" title="e_source_registry_ref_source ()">e_source_registry_ref_source</a>        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
103
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>);
104
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="ESourceRegistry.html#e-source-registry-list-sources" title="e_source_registry_list_sources ()">e_source_registry_list_sources</a>      (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
105
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);
 
103
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);
 
104
<span class="returnvalue">GList</span> *             <a class="link" href="ESourceRegistry.html#e-source-registry-list-sources" title="e_source_registry_list_sources ()">e_source_registry_list_sources</a>      (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
 
105
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);
106
106
<a class="link" href="ESource.html" title="ESource"><span class="returnvalue">ESource</span></a> *           <a class="link" href="ESourceRegistry.html#e-source-registry-find-extension" title="e_source_registry_find_extension ()">e_source_registry_find_extension</a>    (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
107
107
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
108
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);
109
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#GNode"><span class="returnvalue">GNode</span></a> *             <a class="link" href="ESourceRegistry.html#e-source-registry-build-display-tree" title="e_source_registry_build_display_tree ()">e_source_registry_build_display_tree</a>
 
108
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);
 
109
<span class="returnvalue">GNode</span> *             <a class="link" href="ESourceRegistry.html#e-source-registry-build-display-tree" title="e_source_registry_build_display_tree ()">e_source_registry_build_display_tree</a>
110
110
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
111
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);
112
 
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-free-display-tree" title="e_source_registry_free_display_tree ()">e_source_registry_free_display_tree</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#GNode"><span class="type">GNode</span></a> *display_tree</code></em>);
 
111
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);
 
112
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-free-display-tree" title="e_source_registry_free_display_tree ()">e_source_registry_free_display_tree</a> (<em class="parameter"><code><span class="type">GNode</span> *display_tree</code></em>);
113
113
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-debug-dump" title="e_source_registry_debug_dump ()">e_source_registry_debug_dump</a>        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
114
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);
 
114
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);
115
115
<a class="link" href="ESource.html" title="ESource"><span class="returnvalue">ESource</span></a> *           <a class="link" href="ESourceRegistry.html#e-source-registry-ref-builtin-address-book" title="e_source_registry_ref_builtin_address_book ()">e_source_registry_ref_builtin_address_book</a>
116
116
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>);
117
117
<a class="link" href="ESource.html" title="ESource"><span class="returnvalue">ESource</span></a> *           <a class="link" href="ESourceRegistry.html#e-source-registry-ref-default-address-book" title="e_source_registry_ref_default_address_book ()">e_source_registry_ref_default_address_book</a>
154
154
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);
155
155
<a class="link" href="ESource.html" title="ESource"><span class="returnvalue">ESource</span></a> *           <a class="link" href="ESourceRegistry.html#e-source-registry-ref-default-for-extension-name" title="e_source_registry_ref_default_for_extension_name ()">e_source_registry_ref_default_for_extension_name</a>
156
156
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
157
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);
 
157
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);
158
158
<span class="returnvalue">void</span>                <a class="link" href="ESourceRegistry.html#e-source-registry-set-default-for-extension-name" title="e_source_registry_set_default_for_extension_name ()">e_source_registry_set_default_for_extension_name</a>
159
159
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
160
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>,
 
160
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>,
161
161
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);
162
162
</pre>
163
163
</div>
164
164
<div class="refsect1">
165
165
<a name="ESourceRegistry.object-hierarchy"></a><h2>Object Hierarchy</h2>
166
166
<pre class="synopsis">
167
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
167
  GObject
168
168
   +----ESourceRegistry
169
169
</pre>
170
170
</div>
172
172
<a name="ESourceRegistry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
173
173
<p>
174
174
ESourceRegistry implements
175
 
 <a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a> and  <a href="http://library.gnome.org/devel/gio/unstable/GAsyncInitable.html">GAsyncInitable</a>.</p>
 
175
 GInitable and  GAsyncInitable.</p>
176
176
</div>
177
177
<div class="refsect1">
178
178
<a name="ESourceRegistry.properties"></a><h2>Properties</h2>
188
188
<div class="refsect1">
189
189
<a name="ESourceRegistry.signals"></a><h2>Signals</h2>
190
190
<pre class="synopsis">
191
 
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-added" title='The "source-added" signal'>source-added</a>"                                   : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
192
 
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-changed" title='The "source-changed" signal'>source-changed</a>"                                 : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
193
 
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-disabled" title='The "source-disabled" signal'>source-disabled</a>"                                : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
194
 
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-enabled" title='The "source-enabled" signal'>source-enabled</a>"                                 : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
195
 
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-removed" title='The "source-removed" signal'>source-removed</a>"                                 : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
191
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-added" title='The "source-added" signal'>source-added</a>"                                   : <code class="literal">Run Last</code>
 
192
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-changed" title='The "source-changed" signal'>source-changed</a>"                                 : <code class="literal">Run Last</code>
 
193
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-disabled" title='The "source-disabled" signal'>source-disabled</a>"                                : <code class="literal">Run Last</code>
 
194
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-enabled" title='The "source-enabled" signal'>source-enabled</a>"                                 : <code class="literal">Run Last</code>
 
195
  "<a class="link" href="ESourceRegistry.html#ESourceRegistry-source-removed" title='The "source-removed" signal'>source-removed</a>"                                 : <code class="literal">Run Last</code>
196
196
</pre>
197
197
</div>
198
198
<div class="refsect1">
212
212
</p>
213
213
<p>
214
214
The <a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> API also provides a front-end for the
215
 
"org.gnome.Evolution.DefaultSources" <a href="http://library.gnome.org/devel/gio/unstable/GSettings.html"><span class="type">GSettings</span></a> schema which tracks
 
215
"org.gnome.Evolution.DefaultSources" <span class="type">GSettings</span> schema which tracks
216
216
which <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> instances are designated to be the user's default address
217
217
book, calendar, memo list and task list for desktop integration.
218
218
</p>
231
231
<hr>
232
232
<div class="refsect2">
233
233
<a name="e-source-registry-new-sync"></a><h3>e_source_registry_new_sync ()</h3>
234
 
<pre class="programlisting"><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="returnvalue">ESourceRegistry</span></a> *   e_source_registry_new_sync          (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
235
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
234
<pre class="programlisting"><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="returnvalue">ESourceRegistry</span></a> *   e_source_registry_new_sync          (<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
235
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
236
236
<p>
237
237
Creates a new <a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> front-end for the registry D-Bus service.
238
238
If an error occurs in connecting to the D-Bus service, the function sets
239
 
<em class="parameter"><code>error</code></em> and returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
239
<em class="parameter"><code>error</code></em> and returns <code class="literal">NULL</code>.
240
240
</p>
241
241
<div class="variablelist"><table border="0">
242
242
<col align="left" valign="top">
243
243
<tbody>
244
244
<tr>
245
245
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
246
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
246
<td>optional <span class="type">GCancellable</span> object, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
247
247
</td>
248
248
</tr>
249
249
<tr>
250
250
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
251
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
251
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
252
252
</td>
253
253
</tr>
254
254
<tr>
255
255
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
256
 
<td>a new <a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
256
<td>a new <a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a>, or <code class="literal">NULL</code>
257
257
</td>
258
258
</tr>
259
259
</tbody>
263
263
<hr>
264
264
<div class="refsect2">
265
265
<a name="e-source-registry-new"></a><h3>e_source_registry_new ()</h3>
266
 
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_new               (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
267
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
268
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
266
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_new               (<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
267
                                                         <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
 
268
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
269
269
<p>
270
270
Asynchronously creates a new <a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> front-end for the registry
271
271
D-Bus service.
279
279
<tbody>
280
280
<tr>
281
281
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
282
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
282
<td>optional <span class="type">GCancellable</span> object, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
283
283
</td>
284
284
</tr>
285
285
<tr>
286
286
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
287
 
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request
 
287
<td>a <span class="type">GAsyncReadyCallback</span> to call when the request
288
288
is satisfied. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
289
289
</td>
290
290
</tr>
300
300
<hr>
301
301
<div class="refsect2">
302
302
<a name="e-source-registry-new-finish"></a><h3>e_source_registry_new_finish ()</h3>
303
 
<pre class="programlisting"><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="returnvalue">ESourceRegistry</span></a> *   e_source_registry_new_finish        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
304
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
303
<pre class="programlisting"><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="returnvalue">ESourceRegistry</span></a> *   e_source_registry_new_finish        (<em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
 
304
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
305
305
<p>
306
306
Finishes the operation started with <a class="link" href="ESourceRegistry.html#e-source-registry-new-finish" title="e_source_registry_new_finish ()"><code class="function">e_source_registry_new_finish()</code></a>.
307
307
If an error occurs in connecting to the D-Bus service, the function
308
 
sets <em class="parameter"><code>error</code></em> and returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
308
sets <em class="parameter"><code>error</code></em> and returns <code class="literal">NULL</code>.
309
309
</p>
310
310
<div class="variablelist"><table border="0">
311
311
<col align="left" valign="top">
312
312
<tbody>
313
313
<tr>
314
314
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
315
 
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
 
315
<td>a <span class="type">GAsyncResult</span>
316
316
</td>
317
317
</tr>
318
318
<tr>
319
319
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
320
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
320
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
321
321
</td>
322
322
</tr>
323
323
<tr>
324
324
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
325
 
<td>a new <a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
325
<td>a new <a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a>, or <code class="literal">NULL</code>
326
326
</td>
327
327
</tr>
328
328
</tbody>
332
332
<hr>
333
333
<div class="refsect2">
334
334
<a name="e-source-registry-authenticate-sync"></a><h3>e_source_registry_authenticate_sync ()</h3>
335
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            e_source_registry_authenticate_sync (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
 
335
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_source_registry_authenticate_sync (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
336
336
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
337
337
                                                         <em class="parameter"><code><a class="link" href="ESourceAuthenticator.html" title="ESourceAuthenticator"><span class="type">ESourceAuthenticator</span></a> *auth</code></em>,
338
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
339
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
338
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
339
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
340
340
<p>
341
341
Authenticates <em class="parameter"><code>source</code></em>, using <em class="parameter"><code>auth</code></em> to handle the authentication
342
342
attempts.  The operation loops until authentication is successful or
343
343
the user aborts further authentication attempts.  If an error occurs,
344
 
the function will set <em class="parameter"><code>error</code></em> and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
344
the function will set <em class="parameter"><code>error</code></em> and return <code class="literal">FALSE</code>.
345
345
</p>
346
346
<p>
347
 
Note that <em class="parameter"><code>source</code></em> need not have a <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html"><span class="type">GDBusObject</span></a>, which means this
 
347
Note that <em class="parameter"><code>source</code></em> need not have a <span class="type">GDBusObject</span>, which means this
348
348
function can test authentication on a scratch <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>.
349
349
</p>
350
350
<p>
372
372
</tr>
373
373
<tr>
374
374
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
375
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
375
<td>optional <span class="type">GCancellable</span> object, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
376
376
</td>
377
377
</tr>
378
378
<tr>
379
379
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
380
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
380
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
381
381
</td>
382
382
</tr>
383
383
<tr>
384
384
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
385
385
<td>
386
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure</td>
 
386
<code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure</td>
387
387
</tr>
388
388
</tbody>
389
389
</table></div>
395
395
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_authenticate      (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
396
396
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
397
397
                                                         <em class="parameter"><code><a class="link" href="ESourceAuthenticator.html" title="ESourceAuthenticator"><span class="type">ESourceAuthenticator</span></a> *auth</code></em>,
398
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
399
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
400
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
398
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
399
                                                         <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
 
400
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
401
401
<p>
402
402
Asynchronously authenticates <em class="parameter"><code>source</code></em>, using <em class="parameter"><code>auth</code></em> to handle the
403
403
authentication attempts.  The operation loops until authentication
404
404
is successful or the user aborts further authentication attempts.
405
405
</p>
406
406
<p>
407
 
Note that <em class="parameter"><code>source</code></em> need not have a <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html"><span class="type">GDBusObject</span></a>, which means this
 
407
Note that <em class="parameter"><code>source</code></em> need not have a <span class="type">GDBusObject</span>, which means this
408
408
function can test authentication on a scratch <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>.
409
409
</p>
410
410
<p>
437
437
</tr>
438
438
<tr>
439
439
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
440
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
440
<td>optional <span class="type">GCancellable</span> object, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
441
441
</td>
442
442
</tr>
443
443
<tr>
444
444
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
445
 
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request
 
445
<td>a <span class="type">GAsyncReadyCallback</span> to call when the request
446
446
is satisfied. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
447
447
</td>
448
448
</tr>
458
458
<hr>
459
459
<div class="refsect2">
460
460
<a name="e-source-registry-authenticate-finish"></a><h3>e_source_registry_authenticate_finish ()</h3>
461
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            e_source_registry_authenticate_finish
 
461
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_source_registry_authenticate_finish
462
462
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
463
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
464
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
463
                                                         <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
 
464
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
465
465
<p>
466
466
Finishes the operation started with <a class="link" href="ESourceRegistry.html#e-source-registry-authenticate" title="e_source_registry_authenticate ()"><code class="function">e_source_registry_authenticate()</code></a>.
467
 
If an error occurred, the function will set <em class="parameter"><code>error</code></em> and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
467
If an error occurred, the function will set <em class="parameter"><code>error</code></em> and return <code class="literal">FALSE</code>.
468
468
</p>
469
469
<div class="variablelist"><table border="0">
470
470
<col align="left" valign="top">
476
476
</tr>
477
477
<tr>
478
478
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
479
 
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
 
479
<td>a <span class="type">GAsyncResult</span>
480
480
</td>
481
481
</tr>
482
482
<tr>
483
483
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
484
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
484
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
485
485
</td>
486
486
</tr>
487
487
<tr>
488
488
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
489
489
<td>
490
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure</td>
 
490
<code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure</td>
491
491
</tr>
492
492
</tbody>
493
493
</table></div>
496
496
<hr>
497
497
<div class="refsect2">
498
498
<a name="e-source-registry-commit-source-sync"></a><h3>e_source_registry_commit_source_sync ()</h3>
499
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            e_source_registry_commit_source_sync
 
499
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_source_registry_commit_source_sync
500
500
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
501
501
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
502
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
503
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
502
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
503
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
504
504
<p>
505
505
This is a convenience function intended for use with graphical
506
506
<a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> editors.  Call this function when the user is finished
507
507
making changes to <em class="parameter"><code>source</code></em>.
508
508
</p>
509
509
<p>
510
 
If <em class="parameter"><code>source</code></em> has a <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html"><span class="type">GDBusObject</span></a>, its contents are submitted to the D-Bus
 
510
If <em class="parameter"><code>source</code></em> has a <span class="type">GDBusObject</span>, its contents are submitted to the D-Bus
511
511
service through <a class="link" href="ESource.html#e-source-write-sync" title="e_source_write_sync ()"><code class="function">e_source_write_sync()</code></a>.
512
512
</p>
513
513
<p>
514
 
If <em class="parameter"><code>source</code></em> does NOT have a <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html"><span class="type">GDBusObject</span></a> (implying it's a scratch
 
514
If <em class="parameter"><code>source</code></em> does NOT have a <span class="type">GDBusObject</span> (implying it's a scratch
515
515
<a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>), its contents are submitted to the D-Bus service through
516
516
either <a class="link" href="ESource.html#e-source-remote-create-sync" title="e_source_remote_create_sync ()"><code class="function">e_source_remote_create_sync()</code></a> if <em class="parameter"><code>source</code></em> is to be a collection
517
517
member, or <a class="link" href="ESourceRegistry.html#e-source-registry-create-sources-sync" title="e_source_registry_create_sources_sync ()"><code class="function">e_source_registry_create_sources_sync()</code></a> if <em class="parameter"><code>source</code></em> to be an
518
518
independent data source.
519
519
</p>
520
520
<p>
521
 
If an error occurs, the function will set <em class="parameter"><code>error</code></em> and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
521
If an error occurs, the function will set <em class="parameter"><code>error</code></em> and return <code class="literal">FALSE</code>.
522
522
</p>
523
523
<div class="variablelist"><table border="0">
524
524
<col align="left" valign="top">
534
534
</tr>
535
535
<tr>
536
536
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
537
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
537
<td>optional <span class="type">GCancellable</span> object, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
538
538
</td>
539
539
</tr>
540
540
<tr>
541
541
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
542
 
<td>return location for <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
542
<td>return location for <span class="type">GError</span>, or <code class="literal">NULL</code>
543
543
</td>
544
544
</tr>
545
545
<tr>
546
546
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
547
547
<td>
548
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure</td>
 
548
<code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure</td>
549
549
</tr>
550
550
</tbody>
551
551
</table></div>
556
556
<a name="e-source-registry-commit-source"></a><h3>e_source_registry_commit_source ()</h3>
557
557
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_commit_source     (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
558
558
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
559
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
560
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
561
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
559
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
560
                                                         <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
 
561
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
562
562
<p>
563
563
See <a class="link" href="ESourceRegistry.html#e-source-registry-commit-source-sync" title="e_source_registry_commit_source_sync ()"><code class="function">e_source_registry_commit_source_sync()</code></a> for details.
564
564
</p>
581
581
</tr>
582
582
<tr>
583
583
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
584
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
584
<td>optional <span class="type">GCancellable</span> object, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
585
585
</td>
586
586
</tr>
587
587
<tr>
588
588
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
589
 
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request
 
589
<td>a <span class="type">GAsyncReadyCallback</span> to call when the request
590
590
is satisfied. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
591
591
</td>
592
592
</tr>
602
602
<hr>
603
603
<div class="refsect2">
604
604
<a name="e-source-registry-commit-source-finish"></a><h3>e_source_registry_commit_source_finish ()</h3>
605
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            e_source_registry_commit_source_finish
 
605
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_source_registry_commit_source_finish
606
606
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
607
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
608
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
607
                                                         <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
 
608
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
609
609
<p>
610
610
Finishes the operation started with <a class="link" href="ESourceRegistry.html#e-source-registry-commit-source" title="e_source_registry_commit_source ()"><code class="function">e_source_registry_commit_source()</code></a>.
611
611
</p>
612
612
<p>
613
 
If an error occurred, the function will set <em class="parameter"><code>error</code></em> and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
613
If an error occurred, the function will set <em class="parameter"><code>error</code></em> and return <code class="literal">FALSE</code>.
614
614
</p>
615
615
<div class="variablelist"><table border="0">
616
616
<col align="left" valign="top">
622
622
</tr>
623
623
<tr>
624
624
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
625
 
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
 
625
<td>a <span class="type">GAsyncResult</span>
626
626
</td>
627
627
</tr>
628
628
<tr>
629
629
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
630
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
630
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
631
631
</td>
632
632
</tr>
633
633
<tr>
634
634
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
635
635
<td>
636
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure</td>
 
636
<code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure</td>
637
637
</tr>
638
638
</tbody>
639
639
</table></div>
642
642
<hr>
643
643
<div class="refsect2">
644
644
<a name="e-source-registry-create-sources-sync"></a><h3>e_source_registry_create_sources_sync ()</h3>
645
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            e_source_registry_create_sources_sync
 
645
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_source_registry_create_sources_sync
646
646
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
647
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list_of_sources</code></em>,
648
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
649
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
647
                                                         <em class="parameter"><code><span class="type">GList</span> *list_of_sources</code></em>,
 
648
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
649
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
650
650
<p>
651
651
Requests the D-Bus service create new key files for each <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> in
652
652
<em class="parameter"><code>list_of_sources</code></em>.  Each list element must be a scratch <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> with
653
 
no <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html"><span class="type">GDBusObject</span></a>.
 
653
no <span class="type">GDBusObject</span>.
654
654
</p>
655
655
<p>
656
 
If an error occurs, the function will set <em class="parameter"><code>error</code></em> and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
656
If an error occurs, the function will set <em class="parameter"><code>error</code></em> and return <code class="literal">FALSE</code>.
657
657
</p>
658
658
<div class="variablelist"><table border="0">
659
659
<col align="left" valign="top">
666
666
<tr>
667
667
<td><p><span class="term"><em class="parameter"><code>list_of_sources</code></em> :</span></p></td>
668
668
<td>a list of <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> instances with
669
 
no <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html"><span class="type">GDBusObject</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> ESource]</span>
 
669
no <span class="type">GDBusObject</span>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> ESource]</span>
670
670
</td>
671
671
</tr>
672
672
<tr>
673
673
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
674
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
674
<td>optional <span class="type">GCancellable</span> object, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
675
675
</td>
676
676
</tr>
677
677
<tr>
678
678
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
679
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
679
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
680
680
</td>
681
681
</tr>
682
682
<tr>
683
683
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
684
684
<td>
685
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure</td>
 
685
<code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure</td>
686
686
</tr>
687
687
</tbody>
688
688
</table></div>
692
692
<div class="refsect2">
693
693
<a name="e-source-registry-create-sources"></a><h3>e_source_registry_create_sources ()</h3>
694
694
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_create_sources    (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
695
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list_of_sources</code></em>,
696
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
697
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
698
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
695
                                                         <em class="parameter"><code><span class="type">GList</span> *list_of_sources</code></em>,
 
696
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
697
                                                         <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
 
698
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
699
699
<p>
700
700
Asynchronously requests the D-Bus service create new key files for each
701
701
<a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> in <em class="parameter"><code>list_of_sources</code></em>.  Each list element must be a scratch
702
 
<a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> with no <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html"><span class="type">GDBusObject</span></a>.
 
702
<a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> with no <span class="type">GDBusObject</span>.
703
703
</p>
704
704
<p>
705
705
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called.  You can then
717
717
<tr>
718
718
<td><p><span class="term"><em class="parameter"><code>list_of_sources</code></em> :</span></p></td>
719
719
<td>a list of <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> instances with
720
 
no <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html"><span class="type">GDBusObject</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> ESource]</span>
 
720
no <span class="type">GDBusObject</span>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> ESource]</span>
721
721
</td>
722
722
</tr>
723
723
<tr>
724
724
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
725
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
725
<td>optional <span class="type">GCancellable</span> object, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
726
726
</td>
727
727
</tr>
728
728
<tr>
729
729
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
730
 
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request
 
730
<td>a <span class="type">GAsyncReadyCallback</span> to call when the request
731
731
is satisfied. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
732
732
</td>
733
733
</tr>
743
743
<hr>
744
744
<div class="refsect2">
745
745
<a name="e-source-registry-create-sources-finish"></a><h3>e_source_registry_create_sources_finish ()</h3>
746
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            e_source_registry_create_sources_finish
 
746
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_source_registry_create_sources_finish
747
747
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
748
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
749
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
748
                                                         <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
 
749
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
750
750
<p>
751
751
Finishes the operation started with <a class="link" href="ESourceRegistry.html#e-source-registry-create-sources" title="e_source_registry_create_sources ()"><code class="function">e_source_registry_create_sources()</code></a>.
752
752
</p>
753
753
<p>
754
 
If an error occurred, the function will set <em class="parameter"><code>error</code></em> and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
754
If an error occurred, the function will set <em class="parameter"><code>error</code></em> and return <code class="literal">FALSE</code>.
755
755
</p>
756
756
<div class="variablelist"><table border="0">
757
757
<col align="left" valign="top">
763
763
</tr>
764
764
<tr>
765
765
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
766
 
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
 
766
<td>a <span class="type">GAsyncResult</span>
767
767
</td>
768
768
</tr>
769
769
<tr>
770
770
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
771
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
771
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
772
772
</td>
773
773
</tr>
774
774
<tr>
775
775
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
776
776
<td>
777
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure</td>
 
777
<code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure</td>
778
778
</tr>
779
779
</tbody>
780
780
</table></div>
784
784
<div class="refsect2">
785
785
<a name="e-source-registry-ref-source"></a><h3>e_source_registry_ref_source ()</h3>
786
786
<pre class="programlisting"><a class="link" href="ESource.html" title="ESource"><span class="returnvalue">ESource</span></a> *           e_source_registry_ref_source        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
787
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>);</pre>
 
787
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);</pre>
788
788
<p>
789
789
Looks up an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> in <em class="parameter"><code>registry</code></em> by its unique identifier string.
790
790
</p>
791
791
<p>
792
792
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
793
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
793
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
794
794
</p>
795
795
<div class="variablelist"><table border="0">
796
796
<col align="left" valign="top">
806
806
</tr>
807
807
<tr>
808
808
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
809
 
<td>an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no match was found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
809
<td>an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code> if no match was found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
810
810
</td>
811
811
</tr>
812
812
</tbody>
816
816
<hr>
817
817
<div class="refsect2">
818
818
<a name="e-source-registry-list-sources"></a><h3>e_source_registry_list_sources ()</h3>
819
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             e_source_registry_list_sources      (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
820
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);</pre>
 
819
<pre class="programlisting"><span class="returnvalue">GList</span> *             e_source_registry_list_sources      (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
 
820
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);</pre>
821
821
<p>
822
822
Returns a list of registered sources, sorted by display name.  If
823
823
<em class="parameter"><code>extension_name</code></em> is given, restrict the list to sources having that
825
825
</p>
826
826
<p>
827
827
The sources returned in the list are referenced for thread-safety.
828
 
They must each be unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished
829
 
when them.  Free the returned list itself with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>.
 
828
They must each be unreferenced with <code class="function">g_object_unref()</code> when finished
 
829
when them.  Free the returned list itself with <code class="function">g_list_free()</code>.
830
830
</p>
831
831
<p>
832
832
An easy way to free the list properly in one step is as follows:
838
838
    <tbody>
839
839
      <tr>
840
840
        <td class="listing_lines" align="right"><pre>1</pre></td>
841
 
        <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free-full">g_list_free_full</a></span> <span class="gtkdoc opt">(</span>list<span class="gtkdoc opt">,</span> g_object_unref<span class="gtkdoc opt">);</span></pre></td>
 
841
        <td class="listing_code"><pre class="programlisting"><span class="function">g_list_free_full</span> <span class="gtkdoc opt">(</span>list<span class="gtkdoc opt">,</span> g_object_unref<span class="gtkdoc opt">);</span></pre></td>
842
842
      </tr>
843
843
    </tbody>
844
844
  </table>
856
856
</tr>
857
857
<tr>
858
858
<td><p><span class="term"><em class="parameter"><code>extension_name</code></em> :</span></p></td>
859
 
<td>an extension name, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
859
<td>an extension name, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
860
860
</td>
861
861
</tr>
862
862
<tr>
873
873
<a name="e-source-registry-find-extension"></a><h3>e_source_registry_find_extension ()</h3>
874
874
<pre class="programlisting"><a class="link" href="ESource.html" title="ESource"><span class="returnvalue">ESource</span></a> *           e_source_registry_find_extension    (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
875
875
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *source</code></em>,
876
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);</pre>
 
876
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);</pre>
877
877
<p>
878
878
Examines <em class="parameter"><code>source</code></em> and its ancestors and returns the "deepest" <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>
879
879
having an <a class="link" href="ESourceExtension.html" title="ESourceExtension"><span class="type">ESourceExtension</span></a> with the given <em class="parameter"><code>extension_name</code></em>.  If neither
880
880
<em class="parameter"><code>source</code></em> nor any of its ancestors have such an extension, the function
881
 
returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
881
returns <code class="literal">NULL</code>.
882
882
</p>
883
883
<p>
884
884
This function is useful in cases when an <a class="link" href="ESourceExtension.html" title="ESourceExtension"><span class="type">ESourceExtension</span></a> is meant to
892
892
</p>
893
893
<p>
894
894
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
895
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
895
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
896
896
</p>
897
897
<p>
898
898
Note the function returns the <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> containing the <a class="link" href="ESourceExtension.html" title="ESourceExtension"><span class="type">ESourceExtension</span></a>
918
918
</tr>
919
919
<tr>
920
920
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
921
 
<td>an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no match was found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
921
<td>an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code> if no match was found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
922
922
</td>
923
923
</tr>
924
924
</tbody>
928
928
<hr>
929
929
<div class="refsect2">
930
930
<a name="e-source-registry-build-display-tree"></a><h3>e_source_registry_build_display_tree ()</h3>
931
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#GNode"><span class="returnvalue">GNode</span></a> *             e_source_registry_build_display_tree
 
931
<pre class="programlisting"><span class="returnvalue">GNode</span> *             e_source_registry_build_display_tree
932
932
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
933
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);</pre>
 
933
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);</pre>
934
934
<p>
935
 
Returns a single <a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#GNode"><span class="type">GNode</span></a> tree of registered sources that can be used to
936
 
populate a <a href="http://developer.gnome.org/devel/gtk/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a>.  (The root <a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#GNode"><span class="type">GNode</span></a> is just an empty placeholder.)
 
935
Returns a single <span class="type">GNode</span> tree of registered sources that can be used to
 
936
populate a <span class="type">GtkTreeModel</span>.  (The root <span class="type">GNode</span> is just an empty placeholder.)
937
937
</p>
938
938
<p>
939
939
Similar to <a class="link" href="ESourceRegistry.html#e-source-registry-list-sources" title="e_source_registry_list_sources ()"><code class="function">e_source_registry_list_sources()</code></a>, an <em class="parameter"><code>extension_name</code></em> can be
942
942
an extension named <em class="parameter"><code>extension_name</code></em>.
943
943
</p>
944
944
<p>
945
 
Disabled leaf nodes are automatically excluded from the <a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#GNode"><span class="type">GNode</span></a> tree.
 
945
Disabled leaf nodes are automatically excluded from the <span class="type">GNode</span> tree.
946
946
</p>
947
947
<p>
948
948
The sources returned in the tree are referenced for thread-safety.
949
 
They must each be unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished
950
 
with them.  Free the returned tree itself with <a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#g-node-destroy"><code class="function">g_node_destroy()</code></a>.
 
949
They must each be unreferenced with <code class="function">g_object_unref()</code> when finished
 
950
with them.  Free the returned tree itself with <code class="function">g_node_destroy()</code>.
951
951
For convenience, <a class="link" href="ESourceRegistry.html#e-source-registry-free-display-tree" title="e_source_registry_free_display_tree ()"><code class="function">e_source_registry_free_display_tree()</code></a> does all
952
952
that in one step.
953
953
</p>
961
961
</tr>
962
962
<tr>
963
963
<td><p><span class="term"><em class="parameter"><code>extension_name</code></em> :</span></p></td>
964
 
<td>an extension name, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
964
<td>an extension name, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
965
965
</td>
966
966
</tr>
967
967
<tr>
977
977
<hr>
978
978
<div class="refsect2">
979
979
<a name="e-source-registry-free-display-tree"></a><h3>e_source_registry_free_display_tree ()</h3>
980
 
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_free_display_tree (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#GNode"><span class="type">GNode</span></a> *display_tree</code></em>);</pre>
 
980
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_free_display_tree (<em class="parameter"><code><span class="type">GNode</span> *display_tree</code></em>);</pre>
981
981
<p>
982
 
Convenience function to free a <a href="http://library.gnome.org/devel/glib/unstable/glib-N-ary-Trees.html#GNode"><span class="type">GNode</span></a> tree of registered
 
982
Convenience function to free a <span class="type">GNode</span> tree of registered
983
983
sources created by <a class="link" href="ESourceRegistry.html#e-source-registry-build-display-tree" title="e_source_registry_build_display_tree ()"><code class="function">e_source_registry_build_display_tree()</code></a>.
984
984
</p>
985
985
<div class="variablelist"><table border="0">
995
995
<div class="refsect2">
996
996
<a name="e-source-registry-debug-dump"></a><h3>e_source_registry_debug_dump ()</h3>
997
997
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_debug_dump        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
998
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);</pre>
 
998
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);</pre>
999
999
<p>
1000
1000
Handy debugging function that uses <a class="link" href="ESourceRegistry.html#e-source-registry-build-display-tree" title="e_source_registry_build_display_tree ()"><code class="function">e_source_registry_build_display_tree()</code></a>
1001
1001
to print a tree of registered sources to standard output.
1010
1010
</tr>
1011
1011
<tr>
1012
1012
<td><p><span class="term"><em class="parameter"><code>extension_name</code></em> :</span></p></td>
1013
 
<td>an extension name, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1013
<td>an extension name, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1014
1014
</td>
1015
1015
</tr>
1016
1016
</tbody>
1030
1030
</p>
1031
1031
<p>
1032
1032
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1033
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1033
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1034
1034
</p>
1035
1035
<div class="variablelist"><table border="0">
1036
1036
<col align="left" valign="top">
1061
1061
</p>
1062
1062
<p>
1063
1063
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1064
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1064
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1065
1065
</p>
1066
1066
<div class="variablelist"><table border="0">
1067
1067
<col align="left" valign="top">
1088
1088
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);</pre>
1089
1089
<p>
1090
1090
Sets <em class="parameter"><code>default_source</code></em> as the default address book.  If <em class="parameter"><code>default_source</code></em>
1091
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default address book is reset to the built-in address book.
 
1091
is <code class="literal">NULL</code>, the default address book is reset to the built-in address book.
1092
1092
This setting will persist across sessions until changed.
1093
1093
</p>
1094
1094
<div class="variablelist"><table border="0">
1101
1101
</tr>
1102
1102
<tr>
1103
1103
<td><p><span class="term"><em class="parameter"><code>default_source</code></em> :</span></p></td>
1104
 
<td>an address book <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1104
<td>an address book <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1105
1105
</td>
1106
1106
</tr>
1107
1107
</tbody>
1121
1121
</p>
1122
1122
<p>
1123
1123
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1124
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1124
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1125
1125
</p>
1126
1126
<div class="variablelist"><table border="0">
1127
1127
<col align="left" valign="top">
1152
1152
</p>
1153
1153
<p>
1154
1154
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1155
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1155
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1156
1156
</p>
1157
1157
<div class="variablelist"><table border="0">
1158
1158
<col align="left" valign="top">
1179
1179
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);</pre>
1180
1180
<p>
1181
1181
Sets <em class="parameter"><code>default_source</code></em> as the default calendar.  If <em class="parameter"><code>default_source</code></em>
1182
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default calendar is reset to the built-in calendar.
 
1182
is <code class="literal">NULL</code>, the default calendar is reset to the built-in calendar.
1183
1183
This setting will persist across sessions until changed.
1184
1184
</p>
1185
1185
<div class="variablelist"><table border="0">
1192
1192
</tr>
1193
1193
<tr>
1194
1194
<td><p><span class="term"><em class="parameter"><code>default_source</code></em> :</span></p></td>
1195
 
<td>a calendar <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1195
<td>a calendar <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1196
1196
</td>
1197
1197
</tr>
1198
1198
</tbody>
1212
1212
</p>
1213
1213
<p>
1214
1214
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1215
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1215
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1216
1216
</p>
1217
1217
<div class="variablelist"><table border="0">
1218
1218
<col align="left" valign="top">
1243
1243
</p>
1244
1244
<p>
1245
1245
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1246
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1246
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1247
1247
</p>
1248
1248
<div class="variablelist"><table border="0">
1249
1249
<col align="left" valign="top">
1270
1270
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);</pre>
1271
1271
<p>
1272
1272
Sets <em class="parameter"><code>default_source</code></em> as the default mail account.  If <em class="parameter"><code>default_source</code></em>
1273
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default mail account is reset to the built-in mail account.
 
1273
is <code class="literal">NULL</code>, the default mail account is reset to the built-in mail account.
1274
1274
This setting will persist across sessions until changed.
1275
1275
</p>
1276
1276
<div class="variablelist"><table border="0">
1283
1283
</tr>
1284
1284
<tr>
1285
1285
<td><p><span class="term"><em class="parameter"><code>default_source</code></em> :</span></p></td>
1286
 
<td>a mail account <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1286
<td>a mail account <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1287
1287
</td>
1288
1288
</tr>
1289
1289
</tbody>
1300
1300
<a class="link" href="ESourceRegistry.html#e-source-registry-set-default-mail-identity" title="e_source_registry_set_default_mail_identity ()"><code class="function">e_source_registry_set_default_mail_identity()</code></a> either in this session
1301
1301
or a previous session, or else falls back to the mail identity named
1302
1302
by the default mail account.  If even that fails it returns any mail
1303
 
identity from <em class="parameter"><code>registry</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are none.
 
1303
identity from <em class="parameter"><code>registry</code></em>, or <code class="literal">NULL</code> if there are none.
1304
1304
</p>
1305
1305
<p>
1306
1306
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1307
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1307
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1308
1308
</p>
1309
1309
<div class="variablelist"><table border="0">
1310
1310
<col align="left" valign="top">
1316
1316
</tr>
1317
1317
<tr>
1318
1318
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1319
 
<td>the default mail identity <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
1319
<td>the default mail identity <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1320
1320
</td>
1321
1321
</tr>
1322
1322
</tbody>
1331
1331
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);</pre>
1332
1332
<p>
1333
1333
Sets <em class="parameter"><code>default_source</code></em> as the default mail identity.  If <em class="parameter"><code>default_source</code></em>
1334
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the next request for the default mail identity will use the
 
1334
is <code class="literal">NULL</code>, the next request for the default mail identity will use the
1335
1335
fallbacks described in <code class="function">e_source_registry_get_default_mail_identity()</code>.
1336
1336
</p>
1337
1337
<div class="variablelist"><table border="0">
1344
1344
</tr>
1345
1345
<tr>
1346
1346
<td><p><span class="term"><em class="parameter"><code>default_source</code></em> :</span></p></td>
1347
 
<td>a mail identity <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1347
<td>a mail identity <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1348
1348
</td>
1349
1349
</tr>
1350
1350
</tbody>
1364
1364
</p>
1365
1365
<p>
1366
1366
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1367
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1367
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1368
1368
</p>
1369
1369
<div class="variablelist"><table border="0">
1370
1370
<col align="left" valign="top">
1395
1395
</p>
1396
1396
<p>
1397
1397
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1398
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1398
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1399
1399
</p>
1400
1400
<div class="variablelist"><table border="0">
1401
1401
<col align="left" valign="top">
1422
1422
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);</pre>
1423
1423
<p>
1424
1424
Sets <em class="parameter"><code>default_source</code></em> as the default memo list.  If <em class="parameter"><code>default_source</code></em>
1425
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default memo list is reset to the built-in memo list.
 
1425
is <code class="literal">NULL</code>, the default memo list is reset to the built-in memo list.
1426
1426
This setting will persist across sessions until changed.
1427
1427
</p>
1428
1428
<div class="variablelist"><table border="0">
1435
1435
</tr>
1436
1436
<tr>
1437
1437
<td><p><span class="term"><em class="parameter"><code>default_source</code></em> :</span></p></td>
1438
 
<td>a memo list <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1438
<td>a memo list <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1439
1439
</td>
1440
1440
</tr>
1441
1441
</tbody>
1455
1455
</p>
1456
1456
<p>
1457
1457
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1458
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1458
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1459
1459
</p>
1460
1460
<div class="variablelist"><table border="0">
1461
1461
<col align="left" valign="top">
1486
1486
</p>
1487
1487
<p>
1488
1488
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1489
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1489
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1490
1490
</p>
1491
1491
<div class="variablelist"><table border="0">
1492
1492
<col align="left" valign="top">
1513
1513
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);</pre>
1514
1514
<p>
1515
1515
Sets <em class="parameter"><code>default_source</code></em> as the default task list.  If <em class="parameter"><code>default_source</code></em>
1516
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default task list is reset to the built-in task list.
 
1516
is <code class="literal">NULL</code>, the default task list is reset to the built-in task list.
1517
1517
This setting will persist across sessions until changed.
1518
1518
</p>
1519
1519
<div class="variablelist"><table border="0">
1526
1526
</tr>
1527
1527
<tr>
1528
1528
<td><p><span class="term"><em class="parameter"><code>default_source</code></em> :</span></p></td>
1529
 
<td>a task list <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1529
<td>a task list <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1530
1530
</td>
1531
1531
</tr>
1532
1532
</tbody>
1538
1538
<a name="e-source-registry-ref-default-for-extension-name"></a><h3>e_source_registry_ref_default_for_extension_name ()</h3>
1539
1539
<pre class="programlisting"><a class="link" href="ESource.html" title="ESource"><span class="returnvalue">ESource</span></a> *           e_source_registry_ref_default_for_extension_name
1540
1540
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
1541
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>);</pre>
 
1541
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>);</pre>
1542
1542
<p>
1543
1543
This is a convenience function to return a default <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> based on
1544
1544
<em class="parameter"><code>extension_name</code></em>.  This only works with a subset of extension names.
1571
1571
the current default task list, or else falls back to the built-in task list.
1572
1572
</p>
1573
1573
<p>
1574
 
For all other values of <em class="parameter"><code>extension_name</code></em>, the function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1574
For all other values of <em class="parameter"><code>extension_name</code></em>, the function returns <code class="literal">NULL</code>.
1575
1575
</p>
1576
1576
<p>
1577
1577
The returned <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is referenced for thread-safety and must be
1578
 
unreferenced with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.
 
1578
unreferenced with <code class="function">g_object_unref()</code> when finished with it.
1579
1579
</p>
1580
1580
<div class="variablelist"><table border="0">
1581
1581
<col align="left" valign="top">
1603
1603
<a name="e-source-registry-set-default-for-extension-name"></a><h3>e_source_registry_set_default_for_extension_name ()</h3>
1604
1604
<pre class="programlisting"><span class="returnvalue">void</span>                e_source_registry_set_default_for_extension_name
1605
1605
                                                        (<em class="parameter"><code><a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry</code></em>,
1606
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension_name</code></em>,
 
1606
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *extension_name</code></em>,
1607
1607
                                                         <em class="parameter"><code><a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> *default_source</code></em>);</pre>
1608
1608
<p>
1609
1609
This is a convenience function to set a default <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> based on
1612
1612
<p>
1613
1613
If <em class="parameter"><code>extension_name</code></em> is <a class="link" href="ESourceAddressBook.html#E-SOURCE-EXTENSION-ADDRESS-BOOK:CAPS" title="E_SOURCE_EXTENSION_ADDRESS_BOOK"><span class="type">E_SOURCE_EXTENSION_ADDRESS_BOOK</span></a>, the function
1614
1614
sets <em class="parameter"><code>default_source</code></em> as the default address book.  If <em class="parameter"><code>default_source</code></em>
1615
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default address book is reset to the built-in address book.
 
1615
is <code class="literal">NULL</code>, the default address book is reset to the built-in address book.
1616
1616
</p>
1617
1617
<p>
1618
1618
If <em class="parameter"><code>extension_name</code></em> is <a class="link" href="ESourceCalendar.html#E-SOURCE-EXTENSION-CALENDAR:CAPS" title="E_SOURCE_EXTENSION_CALENDAR"><span class="type">E_SOURCE_EXTENSION_CALENDAR</span></a>, the function sets
1619
 
<em class="parameter"><code>default_source</code></em> as the default calendar.  If <em class="parameter"><code>default_source</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
 
1619
<em class="parameter"><code>default_source</code></em> as the default calendar.  If <em class="parameter"><code>default_source</code></em> is <code class="literal">NULL</code>,
1620
1620
the default calendar is reset to the built-in calendar.
1621
1621
</p>
1622
1622
<p>
1623
1623
If <em class="parameter"><code>extension_name</code></em> is <a class="link" href="ESourceMailAccount.html#E-SOURCE-EXTENSION-MAIL-ACCOUNT:CAPS" title="E_SOURCE_EXTENSION_MAIL_ACCOUNT"><span class="type">E_SOURCE_EXTENSION_MAIL_ACCOUNT</span></a>, the function
1624
1624
sets <em class="parameter"><code>default_source</code></em> as the default mail account.  If <em class="parameter"><code>default_source</code></em>
1625
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default mail account is reset to the built-in mail account.
 
1625
is <code class="literal">NULL</code>, the default mail account is reset to the built-in mail account.
1626
1626
</p>
1627
1627
<p>
1628
1628
If <em class="parameter"><code>extension_name</code></em> is <a class="link" href="ESourceMailIdentity.html#E-SOURCE-EXTENSION-MAIL-IDENTITY:CAPS" title="E_SOURCE_EXTENSION_MAIL_IDENTITY"><span class="type">E_SOURCE_EXTENSION_MAIL_IDENTITY</span></a>, the function
1629
1629
sets <em class="parameter"><code>default_source</code></em> as the default mail identity.  If <em class="parameter"><code>default_source</code></em>
1630
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the next request for the default mail identity will return
 
1630
is <code class="literal">NULL</code>, the next request for the default mail identity will return
1631
1631
the mail identity named by the default mail account.
1632
1632
</p>
1633
1633
<p>
1634
1634
If <em class="parameter"><code>extension_name</code></em> is <a class="link" href="ESourceMemoList.html#E-SOURCE-EXTENSION-MEMO-LIST:CAPS" title="E_SOURCE_EXTENSION_MEMO_LIST"><span class="type">E_SOURCE_EXTENSION_MEMO_LIST</span></a>, the function sets
1635
 
<em class="parameter"><code>default_source</code></em> as the default memo list.  If <em class="parameter"><code>default_source</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
 
1635
<em class="parameter"><code>default_source</code></em> as the default memo list.  If <em class="parameter"><code>default_source</code></em> is <code class="literal">NULL</code>,
1636
1636
the default memo list is reset to the built-in memo list.
1637
1637
</p>
1638
1638
<p>
1639
1639
If <em class="parameter"><code>extension_name</code></em> is <a class="link" href="ESourceTaskList.html#E-SOURCE-EXTENSION-TASK-LIST:CAPS" title="E_SOURCE_EXTENSION_TASK_LIST"><span class="type">E_SOURCE_EXTENSION_TASK_LIST</span></a>, the function sets
1640
 
<em class="parameter"><code>default_source</code></em> as the default task list.  If <em class="parameter"><code>default_source</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
 
1640
<em class="parameter"><code>default_source</code></em> as the default task list.  If <em class="parameter"><code>default_source</code></em> is <code class="literal">NULL</code>,
1641
1641
the default task list is reset to the built-in task list.
1642
1642
</p>
1643
1643
<p>
1657
1657
</tr>
1658
1658
<tr>
1659
1659
<td><p><span class="term"><em class="parameter"><code>default_source</code></em> :</span></p></td>
1660
 
<td>an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1660
<td>an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1661
1661
</td>
1662
1662
</tr>
1663
1663
</tbody>
1721
1721
<a name="ESourceRegistry-source-added"></a><h3>The <code class="literal">"source-added"</code> signal</h3>
1722
1722
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry,
1723
1723
                                                        <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>         *source,
1724
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
1724
                                                        <span class="type">gpointer</span>         user_data)      : <code class="literal">Run Last</code></pre>
1725
1725
<p>
1726
1726
Emitted when an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is added to <em class="parameter"><code>registry</code></em>.
1727
1727
</p>
1749
1749
<a name="ESourceRegistry-source-changed"></a><h3>The <code class="literal">"source-changed"</code> signal</h3>
1750
1750
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry,
1751
1751
                                                        <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>         *source,
1752
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
1752
                                                        <span class="type">gpointer</span>         user_data)      : <code class="literal">Run Last</code></pre>
1753
1753
<p>
1754
1754
Emitted when an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> registered with <em class="parameter"><code>registry</code></em> emits
1755
1755
its <a class="link" href="ESource.html#ESource-changed" title='The "changed" signal'><span class="type">"changed"</span></a> signal.
1777
1777
<a name="ESourceRegistry-source-disabled"></a><h3>The <code class="literal">"source-disabled"</code> signal</h3>
1778
1778
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry,
1779
1779
                                                        <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>         *source,
1780
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
1780
                                                        <span class="type">gpointer</span>         user_data)      : <code class="literal">Run Last</code></pre>
1781
1781
<p>
1782
 
Emitted when an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> <a class="link" href="ESource.html#ESource--enabled" title='The "enabled" property'><span class="type">"enabled"</span></a> property becomes <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
1782
Emitted when an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> <a class="link" href="ESource.html#ESource--enabled" title='The "enabled" property'><span class="type">"enabled"</span></a> property becomes <code class="literal">FALSE</code>.
1783
1783
</p>
1784
1784
<div class="variablelist"><table border="0">
1785
1785
<col align="left" valign="top">
1804
1804
<a name="ESourceRegistry-source-enabled"></a><h3>The <code class="literal">"source-enabled"</code> signal</h3>
1805
1805
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry,
1806
1806
                                                        <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>         *source,
1807
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
1807
                                                        <span class="type">gpointer</span>         user_data)      : <code class="literal">Run Last</code></pre>
1808
1808
<p>
1809
 
Emitted when an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> <a class="link" href="ESource.html#ESource--enabled" title='The "enabled" property'><span class="type">"enabled"</span></a> property becomes <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
 
1809
Emitted when an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> <a class="link" href="ESource.html#ESource--enabled" title='The "enabled" property'><span class="type">"enabled"</span></a> property becomes <code class="literal">TRUE</code>.
1810
1810
</p>
1811
1811
<div class="variablelist"><table border="0">
1812
1812
<col align="left" valign="top">
1831
1831
<a name="ESourceRegistry-source-removed"></a><h3>The <code class="literal">"source-removed"</code> signal</h3>
1832
1832
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="ESourceRegistry.html" title="ESourceRegistry"><span class="type">ESourceRegistry</span></a> *registry,
1833
1833
                                                        <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a>         *source,
1834
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
1834
                                                        <span class="type">gpointer</span>         user_data)      : <code class="literal">Run Last</code></pre>
1835
1835
<p>
1836
1836
Emitted when an <a class="link" href="ESource.html" title="ESource"><span class="type">ESource</span></a> is removed from <em class="parameter"><code>registry</code></em>.
1837
1837
</p>