/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2007, 2010 Free Software Foundation
+ Copyright (C) 2007, 2010, 2011, 2012 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
#include "dict-display.h"
#include "psppire-var-view.h"
+#include "builder-wrapper.h"
#include "helper.h"
+
static void
refresh (PsppireDialog *dialog, GtkTreeView *dest)
{
GtkTreeModel *liststore = gtk_tree_view_get_model (dest);
-
gtk_list_store_clear (GTK_LIST_STORE (liststore));
}
switch (response)
{
case GTK_RESPONSE_OK:
- g_free (execute_syntax_string (generate_syntax (&scd)));
+ g_free (execute_syntax_string (de, generate_syntax (&scd)));
break;
case PSPPIRE_RESPONSE_PASTE:
g_free (paste_syntax_to_window (generate_syntax (&scd)));