[gedit-code-assistance] Fix some warnings about Sequence static functions
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-code-assistance] Fix some warnings about Sequence static functions
- Date: Sun, 14 Oct 2012 19:16:03 +0000 (UTC)
commit 178b7f74419fef92b66f849552e1c95b03251c5e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Oct 14 21:15:21 2012 +0200
Fix some warnings about Sequence static functions
src/gcp-source-index.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gcp-source-index.vala b/src/gcp-source-index.vala
index be15e6e..6fbb37a 100644
--- a/src/gcp-source-index.vala
+++ b/src/gcp-source-index.vala
@@ -114,7 +114,7 @@ public class SourceIndex : Object
}
}
- d_index.insert_before(iter, wrapper);
+ Sequence.insert_before(iter, wrapper);
while (!iter.is_end() && wrapper.range.contains_range(iter.get().range))
{
@@ -197,7 +197,7 @@ public class SourceIndex : Object
if (iter != null)
{
- d_index.remove(iter);
+ Sequence.remove(iter);
}
});
}
@@ -312,7 +312,7 @@ public class SourceIndex : Object
public void clear()
{
- d_index.remove_range(d_index.get_begin_iter(), d_index.get_end_iter());
+ Sequence.remove_range(d_index.get_begin_iter(), d_index.get_end_iter());
}
private int compare_func(Wrapper a, Wrapper b)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]