pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src/ui/gui regression-dialog.c


From: John Darrington
Subject: [Pspp-cvs] pspp/src/ui/gui regression-dialog.c
Date: Fri, 29 Feb 2008 09:28:34 +0000

CVSROOT:        /sources/pspp
Module name:    pspp
Changes by:     John Darrington <jmd>   08/02/29 09:28:34

Modified files:
        src/ui/gui     : regression-dialog.c 

Log message:
        Fixed regression dialog to use new data editor arrangement.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/regression-dialog.c?cvsroot=pspp&r1=1.1&r2=1.2

Patches:
Index: regression-dialog.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/regression-dialog.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- regression-dialog.c 27 Feb 2008 04:04:16 -0000      1.1
+++ regression-dialog.c 29 Feb 2008 09:28:34 -0000      1.2
@@ -229,7 +229,6 @@
   struct regression_dialog rd;
 
   GladeXML *xml = XML_NEW ("regression.glade");
-  GtkSheet *var_sheet;
   PsppireVarStore *vs;
 
   GtkWidget *dialog = get_widget_assert   (xml, "regression-dialog");
@@ -244,9 +243,8 @@
 
   rd.stat_view = get_widget_assert (xml, "stat-view");
 
-  var_sheet = GTK_SHEET (get_widget_assert (de->xml, "variable_sheet"));
+  g_object_get (de->data_editor, "var-store", &vs, NULL);
 
-  vs = PSPPIRE_VAR_STORE (gtk_sheet_get_model (var_sheet));
 
   put_checkbox_items_in_treeview (GTK_TREE_VIEW(rd.stat_view),
                                  B_RG_STATS_DEFAULT,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]