aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-example-1.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-example-1.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-example-1.c')
-rw-r--r--widgets/table/e-table-example-1.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/widgets/table/e-table-example-1.c b/widgets/table/e-table-example-1.c
index f482062c9e..d4fefa27ef 100644
--- a/widgets/table/e-table-example-1.c
+++ b/widgets/table/e-table-example-1.c
@@ -1,5 +1,5 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
+/*
* e-table-example-1.c
* Copyright 2000, 2001, Ximian, Inc.
*
@@ -42,16 +42,16 @@
* the ETableSimple class. Instead of creating your own ETableModel
* class, you simply create a new object of the ETableSimple class. You
* give it a bunch of functions that act as callbacks.
- *
+ *
* You also get to pass a void * to ETableSimple and it gets passed to
* your callbacks. This would be for having multiple models of the same
* type. This is just an example though, so we statically define all the
* data and ignore the void *data parameter.
- *
+ *
* In our example we will be creating a table model with 6 columns and 10
* rows. This corresponds to having 6 different types of information and
* 10 different sets of data in our database.
- *
+ *
* The headers will be hard coded, as will be the example data.
*
*/
@@ -219,7 +219,7 @@ create_table (void)
e_table_model = e_table_simple_new (
my_col_count, my_row_count, my_value_at,
my_set_value_at, my_is_cell_editable,
- my_duplicate_value, my_free_value,
+ my_duplicate_value, my_free_value,
my_initialize_value, my_value_is_empty,
my_value_to_string,
NULL);
@@ -234,7 +234,7 @@ create_table (void)
* First we create the header.
*/
e_table_header = e_table_header_new ();
-
+
/*
* Next we have to build renderers for all of the columns.
* Since all our columns are text columns, we can simply use
@@ -243,7 +243,7 @@ create_table (void)
* each column.
*/
cell_left_just = e_cell_text_new (e_table_model, NULL, GTK_JUSTIFY_LEFT);
-
+
/*
* Next we create a column object for each view column and add
* them to the header. We don't create a column object for
@@ -299,7 +299,7 @@ main (int argc, char *argv [])
gtk_widget_push_colormap (gdk_rgb_get_cmap ());
create_table ();
-
+
gtk_main ();
e_cursors_shutdown ();