From: John Darrington Date: Sat, 12 Dec 2009 09:29:43 +0000 (+0100) Subject: Remove unused code X-Git-Tag: sid-i386-build122~14 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec1710dfedad294b9a32838abdbf0967d574aff8;p=pspp-builds.git Remove unused code --- diff --git a/src/ui/gui/t-test-paired-samples.c b/src/ui/gui/t-test-paired-samples.c index 68b45fcb..95e212af 100644 --- a/src/ui/gui/t-test-paired-samples.c +++ b/src/ui/gui/t-test-paired-samples.c @@ -152,33 +152,6 @@ select_as_pair_member (GtkTreeIter source_iter, } } -#if 0 -/* Append a new column to TV at position C, and heading TITLE */ -static void -add_new_column (GtkTreeView *tv, const gchar *title, gint c) -{ - GtkTreeViewColumn *col = gtk_tree_view_column_new (); - GtkCellRenderer *renderer = gtk_cell_renderer_text_new (); - - gtk_tree_view_column_set_min_width (col, 100); - gtk_tree_view_column_set_sizing (col, GTK_TREE_VIEW_COLUMN_AUTOSIZE); - gtk_tree_view_column_set_resizable (col, TRUE); - - - gtk_tree_view_column_set_title (col, title); - - gtk_tree_view_column_pack_start (col, renderer, TRUE); - - gtk_tree_view_column_set_sizing (col, GTK_TREE_VIEW_COLUMN_FIXED); - - gtk_tree_view_append_column (tv, col); - - gtk_tree_view_column_add_attribute (col, renderer, "text", c); -} - -#endif - - /* Pops up the dialog box */ void t_test_paired_samples_dialog (GObject *o, gpointer data)