projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PsppireDictView: Change "dictionary" property to "model".
[pspp-builds.git]
/
src
/
ui
/
gui
/
select-cases-dialog.c
diff --git
a/src/ui/gui/select-cases-dialog.c
b/src/ui/gui/select-cases-dialog.c
index 6492af28e906eab1ca377adc6faa15c6143adddd..f9d0631ea221602bee6f93258dd065ffd3a3dcdc 100644
(file)
--- a/
src/ui/gui/select-cases-dialog.c
+++ b/
src/ui/gui/select-cases-dialog.c
@@
-18,7
+18,7
@@
#include "select-cases-dialog.h"
#include <gtk/gtk.h>
#include "select-cases-dialog.h"
#include <gtk/gtk.h>
-#include "
helpe
r.h"
+#include "
executo
r.h"
#include "psppire-dialog.h"
#include "psppire-data-window.h"
#include "psppire-selector.h"
#include "psppire-dialog.h"
#include "psppire-data-window.h"
#include "psppire-selector.h"
@@
-27,6
+27,7
@@
#include "widget-io.h"
#include <language/syntax-string-source.h>
#include "helper.h"
#include "widget-io.h"
#include <language/syntax-string-source.h>
#include "helper.h"
+#include <xalloc.h>
#include <gettext.h>
#include <gettext.h>
@@
-325,14
+326,12
@@
select_cases_dialog (GObject *o, gpointer data)
{
GtkWidget *source = get_widget_assert (scd.xml, "select-cases-treeview");
{
GtkWidget *source = get_widget_assert (scd.xml, "select-cases-treeview");
- g_object_set (source, "
dictionary
",
+ g_object_set (source, "
model
",
scd.data_store->dict,
"selection-mode",
GTK_SELECTION_SINGLE, NULL);
psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector),
scd.data_store->dict,
"selection-mode",
GTK_SELECTION_SINGLE, NULL);
psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector),
- source,
- entry,
insert_source_row_into_entry,
is_currently_in_entry,
NULL);
insert_source_row_into_entry,
is_currently_in_entry,
NULL);