aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-sort-info.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 /widgets/table/e-table-sort-info.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 'widgets/table/e-table-sort-info.c')
-rw-r--r--widgets/table/e-table-sort-info.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/widgets/table/e-table-sort-info.c b/widgets/table/e-table-sort-info.c
index 8d8d8fe580..e91ade2381 100644
--- a/widgets/table/e-table-sort-info.c
+++ b/widgets/table/e-table-sort-info.c
@@ -46,7 +46,7 @@ static void
etsi_finalize (GObject *object)
{
ETableSortInfo *etsi = E_TABLE_SORT_INFO (object);
-
+
if (etsi->groupings)
g_free(etsi->groupings);
etsi->groupings = NULL;
@@ -107,7 +107,7 @@ e_table_sort_info_sort_info_changed (ETableSortInfo *info)
{
g_return_if_fail (info != NULL);
g_return_if_fail (E_IS_TABLE_SORT_INFO (info));
-
+
if (info->frozen) {
info->sort_info_changed = 1;
} else {
@@ -120,7 +120,7 @@ e_table_sort_info_group_info_changed (ETableSortInfo *info)
{
g_return_if_fail (info != NULL);
g_return_if_fail (E_IS_TABLE_SORT_INFO (info));
-
+
if (info->frozen) {
info->group_info_changed = 1;
} else {
@@ -139,7 +139,7 @@ e_table_sort_info_group_info_changed (ETableSortInfo *info)
* To thaw, invoke the e_table_sort_info_thaw() function, which will
* trigger any signals that might have been queued.
*/
-void
+void
e_table_sort_info_freeze (ETableSortInfo *info)
{
info->frozen++;
@@ -162,7 +162,7 @@ e_table_sort_info_thaw (ETableSortInfo *info)
info->frozen--;
if (info->frozen != 0)
return;
-
+
if (info->sort_info_changed) {
info->sort_info_changed = 0;
e_table_sort_info_sort_info_changed(info);
@@ -206,7 +206,7 @@ e_table_sort_info_grouping_real_truncate (ETableSortInfo *info, int length)
* @lenght: position where the truncation happens.
*
* This routine can be used to reduce or grow the number of grouping
- * criteria in the object.
+ * criteria in the object.
*/
void
e_table_sort_info_grouping_truncate (ETableSortInfo *info, int length)
@@ -283,7 +283,7 @@ e_table_sort_info_sorting_real_truncate (ETableSortInfo *info, int length)
* @lenght: position where the truncation happens.
*
* This routine can be used to reduce or grow the number of sort
- * criteria in the object.
+ * criteria in the object.
*/
void
e_table_sort_info_sorting_truncate (ETableSortInfo *info, int length)
@@ -335,7 +335,7 @@ e_table_sort_info_sorting_set_nth (ETableSortInfo *info, int n, ETableSortColu
* This creates a new e_table_sort_info object that contains no
* grouping and no sorting defined as of yet. This object is used
* to keep track of multi-level sorting and multi-level grouping of
- * the ETable.
+ * the ETable.
*
* Returns: A new %ETableSortInfo object
*/
@@ -418,7 +418,7 @@ e_table_sort_info_save_to_node (ETableSortInfo *info,
int i;
const int sort_count = e_table_sort_info_sorting_get_count (info);
const int group_count = e_table_sort_info_grouping_get_count (info);
-
+
grouping = xmlNewChild (parent, NULL, (const unsigned char *)"grouping", NULL);
for (i = 0; i < group_count; i++) {
@@ -432,7 +432,7 @@ e_table_sort_info_save_to_node (ETableSortInfo *info,
for (i = 0; i < sort_count; i++) {
ETableSortColumn column = e_table_sort_info_sorting_get_nth(info, i);
xmlNode *new_node = xmlNewChild(grouping, NULL, (const unsigned char *)"leaf", NULL);
-
+
e_xml_set_integer_prop_by_name (new_node, (const unsigned char *)"column", column.column);
e_xml_set_bool_prop_by_name (new_node, (const unsigned char *)"ascending", column.ascending);
}