X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fsyntax-editor-source.c;h=f7617a893155faf03b786680c6e0c14114603b04;hb=a698937f8a70b90dda232f9dc9b5c6664c4a4a2d;hp=887f14f3eb927867f7fe22e026fa2025f518f982;hpb=2b6f9b8c607743ea7324b2b7e9a3b3fe7afa5f4e;p=pspp-builds.git diff --git a/src/ui/gui/syntax-editor-source.c b/src/ui/gui/syntax-editor-source.c index 887f14f3..f7617a89 100644 --- a/src/ui/gui/syntax-editor-source.c +++ b/src/ui/gui/syntax-editor-source.c @@ -1,27 +1,23 @@ -/* - PSPPIRE --- A Graphical User Interface for PSPP - Copyright (C) 2006 Free Software Foundation +/* PSPPIRE - a graphical user interface for PSPP. + Copyright (C) 2006 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + 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 + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ #include #include -#include #include #include @@ -32,6 +28,8 @@ #include "syntax-editor-source.h" #include "syntax-editor.h" +#include "xalloc.h" + struct syntax_editor_source { struct getl_interface parent; @@ -70,8 +68,7 @@ location (const struct getl_interface *i) static bool read_line_from_buffer (struct getl_interface *i, - struct string *line, - enum getl_syntax *syntax_rules) + struct string *line) { gchar *text; GtkTextIter next_line;