[gtk-doc] tests: remove obsolete include



commit 3a6b8406e5eddee6eb7c527c498105c0a554641f
Author: Stefan Sauer <ensonic users sf net>
Date:   Sat Nov 4 11:38:14 2017 +0100

    tests: remove obsolete include
    
    Also remove an unused headers.

 tests/bugs/src/tester.c       |    2 --
 tests/empty/src/tester.c      |    2 --
 tests/fail/src/tester.c       |    2 --
 tests/gobject/src/Makefile.am |    3 +--
 tests/gobject/src/giface.c    |    5 +----
 tests/gobject/src/gobject.c   |    3 ---
 tests/gobject/src/gtypes.c    |    3 ---
 tests/gobject/src/tester.h    |    9 ---------
 8 files changed, 2 insertions(+), 27 deletions(-)
---
diff --git a/tests/bugs/src/tester.c b/tests/bugs/src/tester.c
index cc87ff5..7be7be8 100644
--- a/tests/bugs/src/tester.c
+++ b/tests/bugs/src/tester.c
@@ -18,8 +18,6 @@
  * </refsect2>
  */
 
-#include <glib.h>
-
 #include "tester.h"
 
 /**
diff --git a/tests/empty/src/tester.c b/tests/empty/src/tester.c
index 8f69faf..20dc0b2 100644
--- a/tests/empty/src/tester.c
+++ b/tests/empty/src/tester.c
@@ -8,8 +8,6 @@
  * returns nothing.
  */
 
-#include <glib.h>
-
 #include "tester.h"
 
 /**
diff --git a/tests/fail/src/tester.c b/tests/fail/src/tester.c
index f569fee..876dc6c 100644
--- a/tests/fail/src/tester.c
+++ b/tests/fail/src/tester.c
@@ -24,8 +24,6 @@
  * This file contains non-sense code for the sole purpose of testing the docs.
  */
 
-#include <glib.h>
-
 #include "tester.h"
 
 /**
diff --git a/tests/gobject/src/Makefile.am b/tests/gobject/src/Makefile.am
index 0fc2ac9..a65fe01 100644
--- a/tests/gobject/src/Makefile.am
+++ b/tests/gobject/src/Makefile.am
@@ -7,8 +7,7 @@ noinst_LTLIBRARIES = libtester.la
 libtester_la_SOURCES = \
        gobject.c gobject.h \
        giface.c giface.h \
-       gtypes.c gtypes.h \
-       tester.h
+       gtypes.c gtypes.h
 #libtester_la_LIBADD = $(TEST_DEPS_LIBS)
 
 AM_CPPFLAGS = $(TEST_DEPS_CFLAGS)
diff --git a/tests/gobject/src/giface.c b/tests/gobject/src/giface.c
index f4a90c0..10625ce 100644
--- a/tests/gobject/src/giface.c
+++ b/tests/gobject/src/giface.c
@@ -27,9 +27,6 @@
  * This file contains non-sense code for the sole purpose of testing the docs.
  */
 
-#include <glib.h>
-#include <glib-object.h>
-
 #include "giface.h"
 
 /* constructor methods */
@@ -70,7 +67,7 @@ static void gtkdoc_iface_base_init (gpointer g_class) {
                   g_cclosure_marshal_VOID__OBJECT,
                   G_TYPE_NONE, // return type
                   0); // n_params
-  
+
     g_object_interface_install_property (g_class ,
                                     g_param_spec_string ("itest",
                                        "itest prop",
diff --git a/tests/gobject/src/gobject.c b/tests/gobject/src/gobject.c
index 2a455c1..e8bbf20 100644
--- a/tests/gobject/src/gobject.c
+++ b/tests/gobject/src/gobject.c
@@ -168,9 +168,6 @@
  * This file contains non-sense code for the sole purpose of testing the docs.
  */
 
-#include <glib.h>
-#include <glib-object.h>
-
 #include "gobject.h"
 #include "giface.h"
 
diff --git a/tests/gobject/src/gtypes.c b/tests/gobject/src/gtypes.c
index 4a24a8a..9177d72 100644
--- a/tests/gobject/src/gtypes.c
+++ b/tests/gobject/src/gtypes.c
@@ -7,9 +7,6 @@
  * This file contains non-sense code for the sole purpose of testing the docs.
  */
 
-#include <glib.h>
-#include <glib-object.h>
-
 #include "gtypes.h"
 
 /* enum: class internals */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]