aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-bit-array.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-15 18:15:53 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-15 18:26:52 +0800
commit591bcbeb910e0d90dc4076f09c23074c96a2e857 (patch)
tree16514386d71fae7761beeb2efba10dd918718dae /e-util/e-bit-array.c
parent2e113a61cc18428ecb603374dfcc833c5e276422 (diff)
downloadgsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.tar
gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.tar.gz
gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.tar.bz2
gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.tar.lz
gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.tar.xz
gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.tar.zst
gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.zip
Remove a bunch of unused functions.
Diffstat (limited to 'e-util/e-bit-array.c')
-rw-r--r--e-util/e-bit-array.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/e-util/e-bit-array.c b/e-util/e-bit-array.c
index dacd132dd2..c986b4cefc 100644
--- a/e-util/e-bit-array.c
+++ b/e-util/e-bit-array.c
@@ -202,20 +202,6 @@ e_bit_array_foreach (EBitArray *eba,
}
}
-/**
- * e_selection_model_clear
- * @selection: #EBitArray to clear
- *
- * This routine clears the selection to no rows selected.
- */
-void
-e_bit_array_clear(EBitArray *eba)
-{
- g_free(eba->data);
- eba->data = NULL;
- eba->bit_count = 0;
-}
-
#define PART(x,n) (((x) & (0x01010101 << n)) >> n)
#define SECTION(x, n) (((x) >> (n * 8)) & 0xff)
@@ -311,32 +297,6 @@ e_bit_array_bit_count (EBitArray *eba)
return eba->bit_count;
}
-gboolean
-e_bit_array_cross_and (EBitArray *eba)
-{
- gint i;
- for (i = 0; i < eba->bit_count / 32; i++) {
- if (eba->data[i] != ONES)
- return FALSE;
- }
- if ((eba->bit_count % 32) && ((eba->data[i] & BITMASK_LEFT(eba->bit_count)) != BITMASK_LEFT(eba->bit_count)))
- return FALSE;
- return TRUE;
-}
-
-gboolean
-e_bit_array_cross_or (EBitArray *eba)
-{
- gint i;
- for (i = 0; i < eba->bit_count / 32; i++) {
- if (eba->data[i] != 0)
- return TRUE;
- }
- if ((eba->bit_count % 32) && ((eba->data[i] & BITMASK_LEFT(eba->bit_count)) != 0))
- return TRUE;
- return FALSE;
-}
-
#define OPERATE(object, i,mask,grow) ((grow) ? (((object)->data[(i)]) |= ((guint32) ~(mask))) : (((object)->data[(i)]) &= (mask)))
void