Vala 0.42.2 -> 0.44.3
This commit is contained in:
parent
8a59844a97
commit
7f9b271437
|
@ -1 +1 @@
|
||||||
Subproject commit ab63ce22a9e2d149d8843f49bd33f8116a862d39
|
Subproject commit 902b996551e600ceb53eb895fbce6a37b5247693
|
|
@ -219,7 +219,7 @@ namespace LAview {
|
||||||
uint max_cols;
|
uint max_cols;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool check_limits (List<SplitLimit?> sorted_limits) {
|
bool check_limits (List<weak SplitLimit?> sorted_limits) {
|
||||||
/* check nearby limits */
|
/* check nearby limits */
|
||||||
for (var i = 1; i < sorted_limits.length(); ++i)
|
for (var i = 1; i < sorted_limits.length(); ++i)
|
||||||
if (sorted_limits.nth_data(i - 1).last >= sorted_limits.nth_data(i).first
|
if (sorted_limits.nth_data(i - 1).last >= sorted_limits.nth_data(i).first
|
||||||
|
@ -234,14 +234,14 @@ namespace LAview {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint [] get_indexes (List<SplitLimit?> sorted_limits) {
|
uint [] get_indexes (List<weak SplitLimit?> sorted_limits) {
|
||||||
var lim_indexes = new uint[sorted_limits.length()];
|
var lim_indexes = new uint[sorted_limits.length()];
|
||||||
for (var i = 0; i < sorted_limits.length(); ++i)
|
for (var i = 0; i < sorted_limits.length(); ++i)
|
||||||
lim_indexes[i] = sorted_limits.nth_data(i).first;
|
lim_indexes[i] = sorted_limits.nth_data(i).first;
|
||||||
return lim_indexes;
|
return lim_indexes;
|
||||||
}
|
}
|
||||||
|
|
||||||
ATable? split_table (List<SplitLimit?> sorted_limits, uint [] lim_indexes,
|
ATable? split_table (List<weak SplitLimit?> sorted_limits, uint [] lim_indexes,
|
||||||
Row.OpLineStyle line_style) {
|
Row.OpLineStyle line_style) {
|
||||||
|
|
||||||
var return_table = copy () as ATable;
|
var return_table = copy () as ATable;
|
||||||
|
|
Loading…
Reference in New Issue