X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fsort-cases-dialog.h;h=5353b738f2ee32aeb03a012646270ea6a257e178;hb=d908f52b818f4fdf2ab23797756812ec2986bd2b;hp=88d1a21fcc4a3b1cd0fba190022362d4dcc6d91e;hpb=bc02bc027697df3207f827de722c26d8cc87e824;p=pspp-builds.git diff --git a/src/ui/gui/sort-cases-dialog.h b/src/ui/gui/sort-cases-dialog.h index 88d1a21f..5353b738 100644 --- a/src/ui/gui/sort-cases-dialog.h +++ b/src/ui/gui/sort-cases-dialog.h @@ -1,6 +1,6 @@ /* PSPPIRE --- A Graphical User Interface for PSPP - Copyright (C) 2006 Free Software Foundation + Copyright (C) 2007 Free Software Foundation 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 @@ -23,43 +23,8 @@ #include #include -#include "psppire-dict.h" -struct sort_criteria; -struct sort_cases_dialog -{ - GtkWidget *window; - GMainLoop *loop; - - GtkTreeView *dict_view; - - - GtkTreeView *criteria_view; - GtkTreeViewColumn *crit_col; - GtkCellRenderer *crit_renderer; - - GtkListStore *criteria_list; - - struct sort_criteria *sc; - - GtkArrow *arrow; - 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); - - -gint sort_cases_dialog_run (struct sort_cases_dialog *dialog, - PsppireDict *dict, - struct sort_criteria *criteria - ); +void sort_cases_dialog (GObject *o, gpointer data); #endif