[folks] Rename BirthdayOwner -> BirthdayDetails
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Rename BirthdayOwner -> BirthdayDetails
- Date: Fri, 11 Mar 2011 19:37:09 +0000 (UTC)
commit fbc1d396fd6f62f9c70d3e2376f58025e9e21138
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Mar 10 15:52:50 2011 -0800
Rename BirthdayOwner -> BirthdayDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
NEWS | 2 +-
folks/Makefile.am | 2 +-
.../{birthday-owner.vala => birthday-details.vala} | 2 +-
folks/individual.vala | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/NEWS b/NEWS
index 59eee79..56ee72e 100644
--- a/NEWS
+++ b/NEWS
@@ -20,7 +20,7 @@ Bugs fixed:
API changes:
* Add RoleOwner interface
-* Add BirthdayOwner interface
+* Add BirthdayDetails interface
* Add NoteOwner interface
* Add PostalAddressOwner interface
* Add PostalAddressOwner.uid as a convenience for backends
diff --git a/folks/Makefile.am b/folks/Makefile.am
index 9a63912..f28214c 100644
--- a/folks/Makefile.am
+++ b/folks/Makefile.am
@@ -16,6 +16,7 @@ libfolks_la_SOURCES = \
avatar-details.vala \
backend.vala \
backend-store.vala \
+ birthday-details.vala \
emailable.vala \
favouritable.vala \
field-details.vala \
@@ -35,7 +36,6 @@ libfolks_la_SOURCES = \
urlable.vala \
debug.vala \
role-owner.vala \
- birthday-owner.vala \
note-owner.vala \
$(NULL)
diff --git a/folks/birthday-owner.vala b/folks/birthday-details.vala
similarity index 96%
rename from folks/birthday-owner.vala
rename to folks/birthday-details.vala
index c0d3212..1ee329c 100644
--- a/folks/birthday-owner.vala
+++ b/folks/birthday-details.vala
@@ -26,7 +26,7 @@ using GLib;
*
* @since 0.3.UNRELEASED
*/
-public interface Folks.BirthdayOwner : Object
+public interface Folks.BirthdayDetails : Object
{
/**
* The birthday of the { link Persona} and
diff --git a/folks/individual.vala b/folks/individual.vala
index 7a71be3..bf7c7ae 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -65,7 +65,7 @@ public enum Folks.TrustLevel
public class Folks.Individual : Object,
AliasDetails,
AvatarDetails,
- BirthdayOwner,
+ BirthdayDetails,
Emailable,
Favouritable,
GenderOwner,
@@ -1204,7 +1204,7 @@ public class Folks.Individual : Object,
foreach (var persona in this._persona_list)
{
- var bday_owner = persona as BirthdayOwner;
+ var bday_owner = persona as BirthdayDetails;
if (bday_owner != null)
{
if (bday_owner.birthday != null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]