aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-selection-model-array.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-14 20:25:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-15 21:16:36 +0800
commit5e2efa2cd4ac7891fdf316dafd9ab249086e842a (patch)
treefe4b9c1ef8d783281789c4a378253aa41af35db3 /e-util/e-selection-model-array.c
parent63cff95414fc76e6d58a274ffebe019cd6feb0a5 (diff)
downloadgsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.gz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.zst
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.zip
Finish adding symbols to libeutil API docs.
Diffstat (limited to 'e-util/e-selection-model-array.c')
-rw-r--r--e-util/e-selection-model-array.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-selection-model-array.c b/e-util/e-selection-model-array.c
index fe73857a8a..f019f8c66b 100644
--- a/e-util/e-selection-model-array.c
+++ b/e-util/e-selection-model-array.c
@@ -57,8 +57,8 @@ static gint
es_row_model_to_sorted (ESelectionModelArray *esma,
gint model_row)
{
- if (model_row >= 0 && esma && esma->base.sorter && e_sorter_needs_sorting (esma->base.sorter))
- return e_sorter_model_to_sorted (esma->base.sorter, model_row);
+ if (model_row >= 0 && esma && esma->parent.sorter && e_sorter_needs_sorting (esma->parent.sorter))
+ return e_sorter_model_to_sorted (esma->parent.sorter, model_row);
return model_row;
}
@@ -67,8 +67,8 @@ static gint
es_row_sorted_to_model (ESelectionModelArray *esma,
gint sorted_row)
{
- if (sorted_row >= 0 && esma && esma->base.sorter && e_sorter_needs_sorting (esma->base.sorter))
- return e_sorter_sorted_to_model (esma->base.sorter, sorted_row);
+ if (sorted_row >= 0 && esma && esma->parent.sorter && e_sorter_needs_sorting (esma->parent.sorter))
+ return e_sorter_sorted_to_model (esma->parent.sorter, sorted_row);
return sorted_row;
}