From: Ben Pfaff Date: Sat, 3 Dec 2016 06:18:16 +0000 (-0800) Subject: gui: Fix #includes for gtksourceview. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77fe5d8695e5be12ed1d543e18033b244861b086;p=pspp gui: Fix #includes for gtksourceview. Newer versions of gtksourceview only allow gtksource.h to be included directly, so this commit changes PSPPIRE to only include that header. --- diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index 38a4a3f4ff..8750e995b2 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -19,10 +19,7 @@ #include #include -#include -#include -#include -#include +#include #include "language/lexer/lexer.h" #include "libpspp/encoding-guesser.h" diff --git a/src/ui/gui/psppire-syntax-window.h b/src/ui/gui/psppire-syntax-window.h index ce4beac203..cb125028c9 100644 --- a/src/ui/gui/psppire-syntax-window.h +++ b/src/ui/gui/psppire-syntax-window.h @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2008, 2010, 2011 Free Software Foundation + Copyright (C) 2008, 2010, 2011, 2016 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 @@ -23,10 +23,7 @@ #include #include "psppire-window.h" -#include -#include -#include -#include +#include G_BEGIN_DECLS diff --git a/src/ui/gui/widgets.c b/src/ui/gui/widgets.c index b6948d9414..facae6b1dc 100644 --- a/src/ui/gui/widgets.c +++ b/src/ui/gui/widgets.c @@ -1,6 +1,6 @@ #include -#include +#include #include "widgets.h"