* Rename the URLable interface to Urlable
* Take a PersonaStore in IndividualAggregator.add_persona_from_details
* Remove IndividualAggregatorError.STORE_NOT_FOUND
+* Rename the getter for BackendStore.enabled_backends from
+ folks_backend_store_get_enabled_backends() to
+ folks_backend_store_dup_enabled_backends()
+* Rename BackendStore.get_backend_by_name() to .dup_backend_by_name()
Bugs fixed:
* Bug 640901 — Allow it to be determined whether a user Tpf.Persona is in the
GLIB_REQUIRED=2.24.0
TP_GLIB_REQUIRED=0.13.1
# XXX: once we bump this to 0.12.x, remove all the #if VALA_0_12 conditionals
-VALA_REQUIRED=0.10.0
+VALA_REQUIRED=0.11.6
PKG_CHECK_MODULES([GLIB],
[glib-2.0 >= $GLIB_REQUIRED
*
* The backends in this list have been prepared and are ready to use.
*
- * @since 0.2.0
+ * @since 0.3.UNRELEASED
*/
public GLib.List<Backend> enabled_backends
{
+ [CCode (cname = "folks_backend_store_dup_enabled_backends")]
owned get
{
var backends = new GLib.List<Backend> ();
}
/**
- * Get a backend from the store by name.
+ * Get a backend from the store by name. If a backend is returned, its
+ * reference count is increased.
*
* @param name the backend name to retrieve
* @return the backend, or `null` if none could be found
+ *
+ * @since 0.3.UNRELEASED
*/
- public Backend? get_backend_by_name (string name)
+ public Backend? dup_backend_by_name (string name)
{
return this._backend_hash.get (name);
}
}
/* Get the key-file backend */
- Backend kf_backend = backend_store.get_backend_by_name ("key-file");
+ Backend kf_backend = backend_store.dup_backend_by_name ("key-file");
if (kf_backend == null)
{
{
/* Show the details of a particular backend */
Backend backend =
- this.client.backend_store.get_backend_by_name (command_string);
+ this.client.backend_store.dup_backend_by_name (command_string);
if (backend == null)
{