projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not rely on user to specify all variables in VARIABLE subcommand. Fixes bug 30389.
[pspp]
/
src
/
ui
/
gui
/
compute-dialog.c
diff --git
a/src/ui/gui/compute-dialog.c
b/src/ui/gui/compute-dialog.c
index 8a98bb3dcac48d8158812d5f9b96bb7c4df6b687..1154b5125581abc203ef04ace7ba202d2a5448b3 100644
(file)
--- a/
src/ui/gui/compute-dialog.c
+++ b/
src/ui/gui/compute-dialog.c
@@
-363,15
+363,14
@@
contents_plausible (gpointer data)
/* Pops up the Compute dialog box */
void
/* Pops up the Compute dialog box */
void
-compute_dialog (
GObject *o, gpointer data
)
+compute_dialog (
PsppireDataWindow *de
)
{
gint response;
{
gint response;
- PsppireDataWindow *de = data;
PsppireVarStore *vs = NULL;
struct compute_dialog scd;
PsppireVarStore *vs = NULL;
struct compute_dialog scd;
- GtkBuilder *xml = builder_new ("
psppir
e.ui");
+ GtkBuilder *xml = builder_new ("
comput
e.ui");
GtkWidget *dialog = get_widget_assert (xml, "compute-variable-dialog");
GtkWidget *dialog = get_widget_assert (xml, "compute-variable-dialog");
@@
-449,7
+448,7
@@
compute_dialog (GObject *o, gpointer data)
{
gchar *syntax = generate_syntax (&scd);
{
gchar *syntax = generate_syntax (&scd);
- paste_syntax_
in_new
_window (syntax);
+ paste_syntax_
to
_window (syntax);
g_free (syntax);
}
g_free (syntax);
}