[libgee] Remove workaround for vala <0.23.2, fixes bug 723822
- From: Maciej Marcin Piechotka <mpiechotka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgee] Remove workaround for vala <0.23.2, fixes bug 723822
- Date: Sat, 8 Feb 2014 20:57:28 +0000 (UTC)
commit 5e33bf83a056a043bdfa24755838aef9c097117c
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date: Sat Feb 8 21:54:59 2014 +0100
Remove workaround for vala <0.23.2, fixes bug 723822
The old workaround causes reading/writing from invalid pointers,
when compiled with 0.23.2.
configure.ac | 2 +-
tests/testdata.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c74ed40..9046686 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,7 @@ AC_SUBST(GLIB_LIBS)
GOBJECT_INTROSPECTION_CHECK([0.9.0])
-VALA_CHECK([0.21.0])
+VALA_CHECK([0.23.2])
AC_OUTPUT([Makefile
gee-0.8.pc
diff --git a/tests/testdata.vala b/tests/testdata.vala
index 5f00c97..e69a970 100644
--- a/tests/testdata.vala
+++ b/tests/testdata.vala
@@ -104,7 +104,7 @@ public class TestData {
}
private static string[] sort_array (owned string[] array) {
- qsort_with_data<string> (array, sizeof(string), (a, b) => {return strcmp(*(string **)a,
*(string **)b);});
+ qsort_with_data<string> (array, sizeof(string), (a, b) => {return strcmp(a, b);});
return (owned)array;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]