projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output-item: Make label a part of every output_item.
[pspp]
/
src
/
ui
/
gui
/
psppire.c
diff --git
a/src/ui/gui/psppire.c
b/src/ui/gui/psppire.c
index e3f8589f7180e26758c01dd9477919bf03266446..9181d7e571b963575c2aea5ec00e4a6bf9beb2a6 100644
(file)
--- a/
src/ui/gui/psppire.c
+++ b/
src/ui/gui/psppire.c
@@
-105,7
+105,7
@@
initialize (const struct init_source *is)
bind_textdomain_codeset (PACKAGE, "UTF-8");
break;
case 8:
bind_textdomain_codeset (PACKAGE, "UTF-8");
break;
case 8:
- if (
! gtk_parse_args (is->argc, is->argv)
)
+ if (
! gtk_parse_args (is->argc, is->argv)
)
{
perror ("Error parsing arguments");
exit (1);
{
perror ("Error parsing arguments");
exit (1);
@@
-175,7
+175,7
@@
psppire_set_lexer (struct lexer *lexer)
GtkWindow *
GtkWindow *
-psppire_preload_file (const gchar *file)
+psppire_preload_file (const gchar *file
, GtkWindow *victim
)
{
const gchar *local_encoding = "UTF-8";
{
const gchar *local_encoding = "UTF-8";
@@
-191,7
+191,7
@@
psppire_preload_file (const gchar *file)
/* Check to see if the file is a .sav or a .por file. If not
assume that it is a syntax file */
if (retval == 1)
/* Check to see if the file is a .sav or a .por file. If not
assume that it is a syntax file */
if (retval == 1)
- w = open_data_window (
NULL
, filename, NULL, NULL);
+ w = open_data_window (
PSPPIRE_WINDOW (victim)
, filename, NULL, NULL);
else if (retval == 0)
{
char *error = spv_detect (filename);
else if (retval == 0)
{
char *error = spv_detect (filename);