X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fruns-dialog.c;h=6f877e827d9aeda97ed3680da5af88b7b9936e3f;hb=c43efc75c86dd48cd67f23a4d3b5132964b331b8;hp=64f50ace64fea99df6ca34a7e8236ed3d9ec5f1a;hpb=b0a85a90ec68578d775a8cf5161c8e3ad9d35241;p=pspp diff --git a/src/ui/gui/runs-dialog.c b/src/ui/gui/runs-dialog.c index 64f50ace64..6f877e827d 100644 --- a/src/ui/gui/runs-dialog.c +++ b/src/ui/gui/runs-dialog.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2011 Free Software Foundation + Copyright (C) 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 @@ -29,6 +29,7 @@ #include "psppire-var-view.h" #include "executor.h" +#include "builder-wrapper.h" #include "helper.h" #include @@ -209,7 +210,7 @@ generate_syntax (const struct runs *rd) if ( gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (rd->cb[CB_CUSTOM]))) { - char *text = gtk_entry_get_text (GTK_ENTRY (rd->entry)); + const char *text = gtk_entry_get_text (GTK_ENTRY (rd->entry)); append_fragment (string, text, PSPPIRE_VAR_VIEW (rd->variables)); }