[gnome-contacts/new-design] Make throws more explicit
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/new-design] Make throws more explicit
- Date: Thu, 15 Dec 2011 09:38:31 +0000 (UTC)
commit fe9fda29d928dfa28fa99922654d8f26c9adf240
Author: Alexander Larsson <alexl redhat com>
Date: Tue Dec 13 22:27:48 2011 +0100
Make throws more explicit
src/contacts-contact.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala
index 9ac8e0c..6a4a73c 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -938,7 +938,7 @@ public class Contacts.Contact : GLib.Object {
return uri;
}
- public async Persona ensure_primary_persona () throws GLib.Error {
+ public async Persona ensure_primary_persona () throws IndividualAggregatorError, ContactError, PropertyError {
Persona? p = find_primary_persona ();
if (p != null)
return p;
@@ -1054,7 +1054,7 @@ public class Contacts.Contact : GLib.Object {
}
internal static async void set_persona_property (Persona persona,
- string property_name, Value new_value) throws PropertyError {
+ string property_name, Value new_value) throws PropertyError, IndividualAggregatorError, ContactError, PropertyError {
if (persona is FakePersona) {
var fake = persona as FakePersona;
yield fake.make_real_and_set (property_name, new_value);
@@ -1207,7 +1207,7 @@ public class Contacts.FakePersona : Persona {
}
public async Persona? make_real_and_set (string property,
- Value value) throws GLib.Error {
+ Value value) throws IndividualAggregatorError, ContactError, PropertyError {
var v = new PropVal ();
v.property = property;
v.value = value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]