X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Frank-dialog.c;h=23de30c019c14fc46477943f90839baba57fdb3f;hb=7a48928f76e0f4599be8f65b1b3bafd03d73a628;hp=a092cab7c6ea025b3d860d04b292039aad4e1893;hpb=0c5217288cb57d0994d4c99997f5341e2c3a6871;p=pspp diff --git a/src/ui/gui/rank-dialog.c b/src/ui/gui/rank-dialog.c index a092cab7c6..23de30c019 100644 --- a/src/ui/gui/rank-dialog.c +++ b/src/ui/gui/rank-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 @@ -24,11 +24,12 @@ #include #include #include -#include +#include #include #include #include #include "executor.h" +#include "helper.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -321,7 +322,7 @@ rank_dialog (PsppireDataWindow *de) switch (response) { case GTK_RESPONSE_OK: - g_free (execute_syntax_string (generate_syntax (&rd))); + g_free (execute_syntax_string (de, generate_syntax (&rd))); break; case PSPPIRE_RESPONSE_PASTE: g_free (paste_syntax_to_window (generate_syntax (&rd)));