aboutsummaryrefslogtreecommitdiffstats
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
parenta6794091283aef8928130e70a8becf6c15afa77d (diff)
downloadgsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.tar
gsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.tar.gz
gsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.tar.bz2
gsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.tar.lz
gsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.tar.xz
gsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.tar.zst
gsoc2013-evolution-967f29fa42d2785594deea4eae06033e53e6f101.zip
Remove unused e_bit_array_invert_selection().
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-bit-array.c20
-rw-r--r--e-util/e-bit-array.h1
3 files changed, 0 insertions, 22 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index 4a4835c338..23f11a4c36 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -594,7 +594,6 @@ e_bit_array_value_at
e_bit_array_foreach
e_bit_array_selected_count
e_bit_array_select_all
-e_bit_array_invert_selection
e_bit_array_bit_count
e_bit_array_change_one_row
e_bit_array_change_range
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,