aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-bit-array.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /e-util/e-bit-array.c
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.bz2
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.lz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.xz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
Diffstat (limited to 'e-util/e-bit-array.c')
-rw-r--r--e-util/e-bit-array.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/e-util/e-bit-array.c b/e-util/e-bit-array.c
index a4af5e76b5..572f0d4009 100644
--- a/e-util/e-bit-array.c
+++ b/e-util/e-bit-array.c
@@ -153,7 +153,7 @@ eba_dispose (GObject *object)
(* G_OBJECT_CLASS (e_bit_array_parent_class)->dispose) (object);
}
-/**
+/**
* e_selection_model_is_row_selected
* @selection: #EBitArray to check
* @n: The row to check
@@ -172,7 +172,7 @@ e_bit_array_value_at (EBitArray *eba,
return (eba->data[BOX(n)] >> OFFSET(n)) & 0x1;
}
-/**
+/**
* e_selection_model_foreach
* @selection: #EBitArray to traverse
* @callback: The callback function to call back.
@@ -181,7 +181,7 @@ e_bit_array_value_at (EBitArray *eba,
* This routine calls the given callback function once for each
* selected row, passing closure as the closure.
*/
-void
+void
e_bit_array_foreach (EBitArray *eba,
EForeachFunc callback,
gpointer closure)
@@ -202,7 +202,7 @@ e_bit_array_foreach (EBitArray *eba,
}
}
-/**
+/**
* e_selection_model_clear
* @selection: #EBitArray to clear
*
@@ -219,7 +219,7 @@ e_bit_array_clear(EBitArray *eba)
#define PART(x,n) (((x) & (0x01010101 << n)) >> n)
#define SECTION(x, n) (((x) >> (n * 8)) & 0xff)
-/**
+/**
* e_selection_model_selected_count
* @selection: #EBitArray to count
*
@@ -253,7 +253,7 @@ e_bit_array_selected_count (EBitArray *eba)
return count;
}
-/**
+/**
* e_selection_model_select_all
* @selection: #EBitArray to select all
*
@@ -264,10 +264,10 @@ void
e_bit_array_select_all (EBitArray *eba)
{
int i;
-
+
if (!eba->data)
eba->data = g_new0 (guint32, (eba->bit_count + 31) / 32);
-
+
for (i = 0; i < (eba->bit_count + 31) / 32; i ++) {
eba->data[i] = ONES;
}
@@ -285,7 +285,7 @@ e_bit_array_select_all (EBitArray *eba)
}
}
-/**
+/**
* e_selection_model_invert_selection
* @selection: #EBitArray to invert
*
@@ -299,7 +299,7 @@ e_bit_array_invert_selection (EBitArray *eba)
if (!eba->data)
eba->data = g_new0 (guint32, (eba->bit_count + 31) / 32);
-
+
for (i = 0; i < (eba->bit_count + 31) / 32; i ++) {
eba->data[i] = ~eba->data[i];
}