projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug in oneway /descriptives subcommand vs. weights.
[pspp]
/
src
/
ui
/
gui
/
psppire-dialog.c
diff --git
a/src/ui/gui/psppire-dialog.c
b/src/ui/gui/psppire-dialog.c
index 6a6733d2f457897ae8e89dfb08e53053d4b5d18b..e4d04a1fa3cfecccdb3468c916dbb636e2543f75 100644
(file)
--- a/
src/ui/gui/psppire-dialog.c
+++ b/
src/ui/gui/psppire-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
, 2010
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
@@
-213,7
+213,7
@@
psppire_dialog_class_init (PsppireDialogClass *class)
g_param_spec_enum ("orientation",
"Orientation",
"Which way widgets are packed",
g_param_spec_enum ("orientation",
"Orientation",
"Which way widgets are packed",
-
G_TYPE_PSPPIR
E_ORIENTATION,
+
PSPPIRE_TYP
E_ORIENTATION,
PSPPIRE_HORIZONTAL /* default value */,
G_PARAM_CONSTRUCT_ONLY |G_PARAM_READWRITE);
PSPPIRE_HORIZONTAL /* default value */,
G_PARAM_CONSTRUCT_ONLY |G_PARAM_READWRITE);
@@
-305,7
+305,7
@@
configure_event_callback (GtkDialog *dialog,
g_object_get (dialog, "name", &base, NULL);
g_object_get (dialog, "name", &base, NULL);
- psppire_conf_save_window_geometry (conf, base,
event
);
+ psppire_conf_save_window_geometry (conf, base,
GTK_WINDOW (dialog)
);
return FALSE;
}
return FALSE;
}
@@
-481,7
+481,7
@@
connect_notify_signal (GtkWidget *w, gpointer data)
while ((col = gtk_tree_view_get_column (tv, i++)))
{
while ((col = gtk_tree_view_get_column (tv, i++)))
{
- GList *renderers = gtk_
tree_view_column_get_cell_renderers (col
);
+ GList *renderers = gtk_
cell_layout_get_cells (GTK_CELL_LAYOUT (col)
);
GList *start = renderers;
while (renderers)
{
GList *start = renderers;
while (renderers)
{
@@
-513,7
+513,9
@@
psppire_dialog_run (PsppireDialog *dialog)
g_signal_emit (dialog, signals [DIALOG_REFRESH], 0);
g_signal_emit (dialog, signals [DIALOG_REFRESH], 0);
+ gdk_threads_leave ();
g_main_loop_run (dialog->loop);
g_main_loop_run (dialog->loop);
+ gdk_threads_enter ();
g_main_loop_unref (dialog->loop);
g_main_loop_unref (dialog->loop);