projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Separate the execute_syntax function into its own file.
[pspp-builds.git]
/
src
/
ui
/
gui
/
recode-dialog.c
diff --git
a/src/ui/gui/recode-dialog.c
b/src/ui/gui/recode-dialog.c
index e5de4597cb011b0dc67999d9342eef487850938b..495aefb82914b8026f7f507e75aa72b13759a019 100644
(file)
--- a/
src/ui/gui/recode-dialog.c
+++ b/
src/ui/gui/recode-dialog.c
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2007 Free Software Foundation
+ Copyright (C) 2007
, 2009
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
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
@@
-24,8
+24,11
@@
#include "recode-dialog.h"
#include "recode-dialog.h"
+#include "executor.h"
+
#include <gtk/gtk.h>
#include <gtk/gtk.h>
+#include <xalloc.h>
#include <language/syntax-string-source.h>
#include <ui/gui/psppire-data-window.h>
#include <ui/gui/dialog-common.h>
#include <language/syntax-string-source.h>
#include <ui/gui/psppire-data-window.h>
#include <ui/gui/dialog-common.h>
@@
-33,7
+36,7
@@
#include <ui/gui/helper.h>
#include <ui/gui/psppire-dialog.h>
#include <ui/gui/psppire-var-store.h>
#include <ui/gui/helper.h>
#include <ui/gui/psppire-dialog.h>
#include <ui/gui/psppire-var-store.h>
-#include <ui/gui/helper.h>
+
#include <ui/syntax-gen.h>
#include "psppire-acr.h"
#include <ui/syntax-gen.h>
#include "psppire-acr.h"
@@
-71,7
+74,7
@@
new_value_copy (struct new_value *nv)
struct new_value *copy = g_memdup (nv, sizeof (*copy));
if ( nv->type == NV_STRING )
struct new_value *copy = g_memdup (nv, sizeof (*copy));
if ( nv->type == NV_STRING )
- copy->v.s = strdup (nv->v.s);
+ copy->v.s =
x
strdup (nv->v.s);
return copy;
}
return copy;
}
@@
-885,7
+888,7
@@
recode_dialog (PsppireDataWindow *de, gboolean diff)
gtk_window_set_transient_for (GTK_WINDOW (rd.dialog), GTK_WINDOW (de));
gtk_window_set_transient_for (GTK_WINDOW (rd.dialog), GTK_WINDOW (de));
- g_object_set (rd.dict_treeview, "
model
", vs->dict, NULL);
+ g_object_set (rd.dict_treeview, "
dictionary
", vs->dict, NULL);
if ( ! rd.different )
{
if ( ! rd.different )
{