X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fselect-cases-dialog.c;h=56b10d2c5482e382da1b8b2df32f5646bb8fe127;hb=refs%2Ftags%2Flenny-x64-build40;hp=ca1b31bc0b2a4305acf5e30243b95db27162c49b;hpb=d3181522c4d8e725d417cbae655e46f660fe168e;p=pspp-builds.git diff --git a/src/ui/gui/select-cases-dialog.c b/src/ui/gui/select-cases-dialog.c index ca1b31bc..56b10d2c 100644 --- a/src/ui/gui/select-cases-dialog.c +++ b/src/ui/gui/select-cases-dialog.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. 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 @@ -18,7 +18,7 @@ #include "select-cases-dialog.h" #include -#include "helper.h" +#include "executor.h" #include "psppire-dialog.h" #include "psppire-data-window.h" #include "psppire-selector.h" @@ -27,6 +27,7 @@ #include "widget-io.h" #include #include "helper.h" +#include #include @@ -325,7 +326,7 @@ select_cases_dialog (GObject *o, gpointer data) { GtkWidget *source = get_widget_assert (scd.xml, "select-cases-treeview"); - g_object_set (source, "model", + g_object_set (source, "dictionary", scd.data_store->dict, "selection-mode", GTK_SELECTION_SINGLE, NULL); @@ -388,7 +389,7 @@ generate_syntax (const struct select_cases_dialog *scd) (GTK_TOGGLE_BUTTON (get_widget_assert (scd->xml, "radiobutton-all")))) { - return strdup ("\n"); + return xstrdup ("\n"); } string = g_string_new ("");