aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-20 02:58:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-20 02:58:12 +0800
commit967f29fa42d2785594deea4eae06033e53e6f101 (patch)
tree4b3b7bd19563bbac4e636a10fccf9929dd96d404 /e-util
parenta6794091283aef8928130e70a8becf6c15afa77d (diff)
downloadgsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.tar.gz
gsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.tar.zst
gsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.zip
Remove unused e_bit_array_invert_selection().
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-bit-array.c20
-rw-r--r--e-util/e-bit-array.h1
2 files changed, 0 insertions, 21 deletions
diff --git a/e-util/e-bit-array.c b/e-util/e-bit-array.c
index 60618ca851..2cb8148955 100644
--- a/e-util/e-bit-array.c
+++ b/e-util/e-bit-array.c
@@ -296,26 +296,6 @@ e_bit_array_select_all (EBitArray *bit_array)
}
}
-/**
- * e_bit_array_invert_selection
- * @bit_array: #EBitArray to invert
- *
- * This routine inverts all the rows in the given
- * #EBitArray.
- */
-void
-e_bit_array_invert_selection (EBitArray *bit_array)
-{
- gint i;
-
- if (!bit_array->data)
- bit_array->data = g_new0 (guint32, (bit_array->bit_count + 31) / 32);
-
- for (i = 0; i < (bit_array->bit_count + 31) / 32; i++) {
- bit_array->data[i] = ~bit_array->data[i];
- }
-}
-
gint
e_bit_array_bit_count (EBitArray *bit_array)
{
diff --git a/e-util/e-bit-array.h b/e-util/e-bit-array.h
index 514bdb75bd..22e5c5bbc7 100644
--- a/e-util/e-bit-array.h
+++ b/e-util/e-bit-array.h
@@ -75,7 +75,6 @@ void e_bit_array_foreach (EBitArray *bit_array,
gpointer closure);
gint e_bit_array_selected_count (EBitArray *bit_array);
void e_bit_array_select_all (EBitArray *bit_array);
-void e_bit_array_invert_selection (EBitArray *bit_array);
gint e_bit_array_bit_count (EBitArray *bit_array);
void e_bit_array_change_one_row (EBitArray *bit_array,
gint row,