diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-15 06:04:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-15 06:04:21 +0800 |
commit | 9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch) | |
tree | 2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/table/test-cols.c | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz 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/test-cols.c')
-rw-r--r-- | widgets/table/test-cols.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/widgets/table/test-cols.c b/widgets/table/test-cols.c index f0f0c970ae..b1dd6c4e6d 100644 --- a/widgets/table/test-cols.c +++ b/widgets/table/test-cols.c @@ -78,7 +78,7 @@ value_at (ETableModel *etc, int col, int row, void *data) return GINT_TO_POINTER (my_table [row].value); else return my_table [row].string; - + } static void @@ -164,7 +164,7 @@ multi_cols_test (void) GnomeCanvasItem *item; gtk_widget_push_colormap (gdk_rgb_get_cmap ()); - + e_table_model = e_table_simple_new ( col_count, row_count, value_at, set_value_at, is_cell_editable, @@ -183,7 +183,7 @@ multi_cols_test (void) { GdkPixbuf **images = g_new (GdkPixbuf *, 3); int i; - + images [0] = gdk_pixbuf_new_from_file ("image1.png"); images [1] = gdk_pixbuf_new_from_file ("image2.png"); images [2] = gdk_pixbuf_new_from_file ("image3.png"); @@ -192,10 +192,10 @@ multi_cols_test (void) for (i = 0; i < 3; i++) gdk_pixbuf_unref (images [i]); - + g_free (images); - } - + } + col_1 = e_table_col_new (1, "Item Name", 1.0, 20, cell_left_just, e_str_compare, TRUE); e_table_header_add_column (e_table_header, col_1, 0); @@ -209,7 +209,7 @@ multi_cols_test (void) e_table_header_add_column (e_table_header_multiple, col_0, 0); e_table_header_add_column (e_table_header_multiple, col_1, 1); e_table_header_add_column (e_table_header_multiple, col_1, 2); - + /* * GUI */ @@ -218,7 +218,7 @@ multi_cols_test (void) g_signal_connect (canvas, "size_allocate", G_CALLBACK (set_canvas_size), NULL); - + gtk_container_add (GTK_CONTAINER (window), canvas); gtk_widget_show_all (window); @@ -242,7 +242,7 @@ multi_cols_test (void) NULL); e_canvas_item_move_absolute (item, 0, 30); - + gnome_canvas_item_new ( gnome_canvas_root (GNOME_CANVAS (canvas)), e_table_header_item_get_type (), |