[folks] Fix the error domain of PersonaStore.remove_persona()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Fix the error domain of PersonaStore.remove_persona()
- Date: Wed, 20 Jul 2011 19:26:18 +0000 (UTC)
commit 61a22e725900c0a002357abb06b33746836c11ad
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun Jul 10 18:44:31 2011 +0100
Fix the error domain of PersonaStore.remove_persona()
NEWS | 2 ++
folks/persona-store.vala | 3 ++-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index dad778f..e2853fb 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,8 @@ API changes:
* Make NameDetails.nickname settable
* Drop AliasDetails support from Trf.Persona
* Add PersonaStoreError.PERMISSION_DENIED and PersonaStoreError.REMOVE_FAILED
+* Change the error domain of PersonaStore.remove_persona() from GLib.Error to
+ Folks.PersonaStoreError
Overview of changes from libfolks 0.5.1 to libfolks 0.5.2
=========================================================
diff --git a/folks/persona-store.vala b/folks/persona-store.vala
index 4f4b04f..4922a59 100644
--- a/folks/persona-store.vala
+++ b/folks/persona-store.vala
@@ -466,5 +466,6 @@ public abstract class Folks.PersonaStore : Object
* @param persona the { link Persona} to remove
* @since 0.1.11
*/
- public abstract async void remove_persona (Persona persona) throws GLib.Error;
+ public abstract async void remove_persona (Persona persona)
+ throws Folks.PersonaStoreError;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]