aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-common-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-common-helpers.c')
-rw-r--r--libmm-glib/mm-common-helpers.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libmm-glib/mm-common-helpers.c b/libmm-glib/mm-common-helpers.c
index 3a5883b2..7bd845b9 100644
--- a/libmm-glib/mm-common-helpers.c
+++ b/libmm-glib/mm-common-helpers.c
@@ -655,6 +655,12 @@ mm_common_bands_garray_cmp (GArray *a, GArray *b)
return !different;
}
+void
+mm_common_bands_garray_sort (GArray *array)
+{
+ g_array_sort (array, (GCompareFunc) cmp_band);
+}
+
GArray *
mm_common_mode_combinations_variant_to_garray (GVariant *variant)
{