[gnome-contacts] src: Add a missing nullability marker



commit 4af8c371077f449a064afbc7430d030f066a8bf2
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Jan 30 07:43:19 2014 +0000

    src: Add a missing nullability marker
    
    This fixes builds with recent versions of Vala (such as
    0.23.1.38-994dd).
    
    The change was introduced in Vala’s GTK+ bindings in bug #722490.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723000

 src/contacts-view.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-view.vala b/src/contacts-view.vala
index 11ac30c..6522bb2 100644
--- a/src/contacts-view.vala
+++ b/src/contacts-view.vala
@@ -265,7 +265,11 @@ public class Contacts.View : ListBox {
     data.destroy ();
   }
 
+#if VALA_0_24
+  public override void row_selected (ListBoxRow? row) {
+#else
   public override void row_selected (ListBoxRow row) {
+#endif
     var data = row as ContactDataRow;
     var contact = data != null ? data.contact : null;
     selection_changed (contact);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]