[folks] core: Fix use of deprecated Vala API



commit 718d86b8ec95e85b684816be0e9d4ae5523214fa
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Aug 16 21:41:32 2011 +0100

    core: Fix use of deprecated Vala API

 folks/individual-aggregator.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala
index 2fe0eea..25a8664 100644
--- a/folks/individual-aggregator.vala
+++ b/folks/individual-aggregator.vala
@@ -233,7 +233,7 @@ public class Folks.IndividualAggregator : Object
 
   private void _set_writeable_store (string store_config_ids)
     {
-      if (store_config_ids.str (":") != null)
+      if (store_config_ids.index_of (":") != -1)
         {
           var ids = store_config_ids.split (":", 2);
           this._configured_writeable_store_type_id = ids[0];



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