X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Ffrequencies-dialog.c;h=8db8ddc88b1abb27efc4e1b04d18d9741ea368a0;hb=f775feb2cd46a56d926cfe176e4761650bb7e692;hp=3378d819ef8620de67e653599e4dce5f493b9f8f;hpb=0c5217288cb57d0994d4c99997f5341e2c3a6871;p=pspp diff --git a/src/ui/gui/frequencies-dialog.c b/src/ui/gui/frequencies-dialog.c index 3378d819ef..8db8ddc88b 100644 --- a/src/ui/gui/frequencies-dialog.c +++ b/src/ui/gui/frequencies-dialog.c @@ -1,5 +1,5 @@ /* 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 @@ -26,10 +26,11 @@ #include #include #include -#include +#include #include #include #include "executor.h" +#include "helper.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -569,7 +570,7 @@ frequencies_dialog (PsppireDataWindow *de) switch (response) { case GTK_RESPONSE_OK: - g_free (execute_syntax_string (generate_syntax (&fd))); + g_free (execute_syntax_string (de, generate_syntax (&fd))); break; case PSPPIRE_RESPONSE_PASTE: g_free (paste_syntax_to_window (generate_syntax (&fd)));