summaryrefslogtreecommitdiff
path: root/src/core/contacts-structured-name-chunk.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/contacts-structured-name-chunk.vala')
-rw-r--r--src/core/contacts-structured-name-chunk.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/contacts-structured-name-chunk.vala b/src/core/contacts-structured-name-chunk.vala
index 96f2888..264898b 100644
--- a/src/core/contacts-structured-name-chunk.vala
+++ b/src/core/contacts-structured-name-chunk.vala
@@ -59,7 +59,7 @@ public class Contacts.StructuredNameChunk : Chunk {
construct {
if (persona != null) {
- return_if_fail (persona is NameDetails);
+ assert (persona is NameDetails);
persona.bind_property ("structured-name", this, "structured-name");
this._structured_name = ((NameDetails) persona).structured_name;
}