Commit d80e62a4 authored by Travis Reitter's avatar Travis Reitter
Browse files

Rename HasAvatar -> AvatarOwner.

Helps bgo#627397.
parent f9f7d793
......@@ -21,6 +21,9 @@ Bugs fixed:
* Bug 639742 — Logger service unavailable in make check
* Bug 640213 — Add tests for LinkedHashSet
API changes:
* Rename the HasAvatar interface to AvatarOwner
Overview of changes from libfolks 0.3.2 to libfolks 0.3.3
=========================================================
......
......@@ -31,7 +31,7 @@ public class Tpf.Persona : Folks.Persona,
Aliasable,
Favouritable,
Groupable,
HasAvatar,
AvatarOwner,
HasPresence,
IMable
{
......@@ -50,7 +50,7 @@ public class Tpf.Persona : Folks.Persona,
/**
* An avatar for the Persona.
*
* See {@link Folks.HasAvatar.avatar}.
* See {@link Folks.AvatarOwner.avatar}.
*/
public File avatar { get; set; }
......
......@@ -17,7 +17,7 @@ libfolks_la_SOURCES = \
backend-store.vala \
favouritable.vala \
groupable.vala \
has-avatar.vala \
avatar-owner.vala \
has-presence.vala \
imable.vala \
individual.vala \
......
......@@ -24,7 +24,7 @@ using GLib;
* Interface for classes which represent contacts which have an avatar
* (pictorial representation), such as {@link Persona} and {@link Individual}.
*/
public interface Folks.HasAvatar : Object
public interface Folks.AvatarOwner : Object
{
/**
* An avatar for the contact.
......
......@@ -66,7 +66,7 @@ public class Folks.Individual : Object,
Aliasable,
Favouritable,
Groupable,
HasAvatar,
AvatarOwner,
HasPresence,
IMable
{
......@@ -655,9 +655,9 @@ public class Folks.Individual : Object,
this._persona_list.foreach ((p) =>
{
if (avatar == null && p is HasAvatar)
if (avatar == null && p is AvatarOwner)
{
avatar = ((HasAvatar) p).avatar;
avatar = ((AvatarOwner) p).avatar;
return;
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment