[gtksourceview] tests: clean header inclusions
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] tests: clean header inclusions
- Date: Fri, 28 Dec 2012 20:55:44 +0000 (UTC)
commit f7ad2e9f3400bd8be11f7eb7a535feb1476860e6
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Wed Dec 26 23:48:52 2012 +0100
tests: clean header inclusions
tests/test-buffer.c | 6 +-----
tests/test-completion.c | 11 +----------
tests/test-languagemanager.c | 3 ---
tests/test-printcompositor.c | 3 ---
4 files changed, 2 insertions(+), 21 deletions(-)
---
diff --git a/tests/test-buffer.c b/tests/test-buffer.c
index 71bfa0d..d5364be 100644
--- a/tests/test-buffer.c
+++ b/tests/test-buffer.c
@@ -1,10 +1,6 @@
-#include "config.h"
-#include <string.h>
#include <stdlib.h>
-
#include <gtk/gtk.h>
-#include <gtksourceview/gtksourcebuffer.h>
-#include <gtksourceview/gtksourceview.h>
+#include <gtksourceview/gtksource.h>
static void
test_get_buffer (void)
diff --git a/tests/test-completion.c b/tests/test-completion.c
index 71484a5..c022e09 100644
--- a/tests/test-completion.c
+++ b/tests/test-completion.c
@@ -19,17 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <config.h>
-
-#include <glib.h>
-#include <glib/gprintf.h>
#include <gtk/gtk.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtksourceview/gtksourceview.h>
-#include <gtksourceview/gtksourcecompletion.h>
-#include <gtksourceview/gtksourcecompletioninfo.h>
-#include <gtksourceview/gtksourcecompletionitem.h>
-#include <gtksourceview/gtksourcelanguagemanager.h>
+#include <gtksourceview/gtksource.h>
#include <gtksourceview/completion-providers/words/gtksourcecompletionwords.h>
static GtkWidget *view;
diff --git a/tests/test-languagemanager.c b/tests/test-languagemanager.c
index dc34a8b..8dc1acc 100644
--- a/tests/test-languagemanager.c
+++ b/tests/test-languagemanager.c
@@ -1,6 +1,3 @@
-#include "config.h"
-#include <string.h>
-
#include <gtk/gtk.h>
#include <gtksourceview/gtksource.h>
diff --git a/tests/test-printcompositor.c b/tests/test-printcompositor.c
index c227fd8..bd3542a 100644
--- a/tests/test-printcompositor.c
+++ b/tests/test-printcompositor.c
@@ -1,6 +1,3 @@
-#include "config.h"
-#include <string.h>
-
#include <gtk/gtk.h>
#include <gtksourceview/gtksource.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]