X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fsort-cases-dialog.h;h=88d1a21fcc4a3b1cd0fba190022362d4dcc6d91e;hb=09a1109ddc398f36fe720208e1d38053850cbd2a;hp=abbc60e66658a718500ba73d65affe7f38b5f9c4;hpb=87b6d42a2d540b92baf0db8fe28657eda747b3b0;p=pspp-builds.git diff --git a/src/ui/gui/sort-cases-dialog.h b/src/ui/gui/sort-cases-dialog.h index abbc60e6..88d1a21f 100644 --- a/src/ui/gui/sort-cases-dialog.h +++ b/src/ui/gui/sort-cases-dialog.h @@ -1,7 +1,6 @@ /* PSPPIRE --- A Graphical User Interface for PSPP Copyright (C) 2006 Free Software Foundation - Written by John Darrington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,7 +34,7 @@ struct sort_cases_dialog GtkTreeView *dict_view; - + GtkTreeView *criteria_view; GtkTreeViewColumn *crit_col; GtkCellRenderer *crit_renderer; @@ -48,18 +47,18 @@ struct sort_cases_dialog GtkButton *button; GtkToggleButton *ascending_button; - + /* FIXME: Could this be done better with a GtkToggleAction ?? */ enum {VAR_SELECT, VAR_DESELECT} button_state; gint response; }; -struct sort_cases_dialog * sort_cases_dialog_create(GladeXML *xml); +struct sort_cases_dialog * sort_cases_dialog_create (GladeXML *xml); -gint sort_cases_dialog_run(struct sort_cases_dialog *dialog, - PsppireDict *dict, +gint sort_cases_dialog_run (struct sort_cases_dialog *dialog, + PsppireDict *dict, struct sort_criteria *criteria );