[gnome-contacts] Don't restrict RowData.details to the generic type	"string"
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-contacts] Don't restrict RowData.details to the generic type	"string"
- Date: Sat,  1 Oct 2016 12:33:11 +0000 (UTC)
commit 2ba6e380dd8a3575bd8f4d4e5d8d3883003e9f54
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Oct 1 14:27:55 2016 +0200
    Don't restrict RowData.details to the generic type "string"
    
    This allows AbstractFieldDetails<G> based values to be assigned,
    like PostalAddressFieldDetails.
    
    Fixes a build-failure with vala 0.35+ due to stricter type-checking.
 src/contacts-contact-editor.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-contact-editor.vala b/src/contacts-contact-editor.vala
index 3372f87..3978887 100644
--- a/src/contacts-contact-editor.vala
+++ b/src/contacts-contact-editor.vala
@@ -77,7 +77,7 @@ public class Contacts.ContactEditor : Grid {
   }
 
   struct RowData {
-    AbstractFieldDetails<string> details;
+    AbstractFieldDetails details;
   }
 
   struct Field {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]