GObjectConstructParam *);
static void psppire_var_type_dialog_set_state (PsppireVarTypeDialog *);
+static void psppire_var_type_dialog_set_format (PsppireVarTypeDialog *dialog,
+ const struct fmt_spec *format);
+
static int find_format (const struct fmt_spec *target,
const struct fmt_spec formats[], int n_formats);
static int find_format_type (int target, const int types[], int n_types);
}
}
-void
+static void
psppire_var_type_dialog_set_format (PsppireVarTypeDialog *dialog,
const struct fmt_spec *format)
{
psppire_var_type_dialog_set_state (dialog);
}
-const struct fmt_spec *
+static const struct fmt_spec *
psppire_var_type_dialog_get_format (const PsppireVarTypeDialog *dialog)
{
return &dialog->fmt_l;
GType psppire_var_type_dialog_get_type (void) G_GNUC_CONST;
PsppireVarTypeDialog* psppire_var_type_dialog_new (const struct fmt_spec *);
-void psppire_var_type_dialog_set_format (PsppireVarTypeDialog *,
- const struct fmt_spec *);
-const struct fmt_spec *psppire_var_type_dialog_get_format (
- const PsppireVarTypeDialog *);
-
void psppire_var_type_dialog_run (GtkWindow *parent_window,
struct fmt_spec *format);