[libgweather/ebassi/parallel-tests] tests: Hide the glib/gstdio.h include



commit 057a1d4d6866d7195a8d14d03cee7e5a424ecef2
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Nov 19 17:43:16 2021 +0000

    tests: Hide the glib/gstdio.h include
    
    We only need it inside the test utilities.

 libgweather/tests/gweather-test-utils.c | 2 ++
 libgweather/tests/gweather-test-utils.h | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libgweather/tests/gweather-test-utils.c b/libgweather/tests/gweather-test-utils.c
index 7f92b52b..9a00dc11 100644
--- a/libgweather/tests/gweather-test-utils.c
+++ b/libgweather/tests/gweather-test-utils.c
@@ -8,6 +8,8 @@
 
 #include "gweather-test-utils.h"
 
+#include <glib/gstdio.h>
+
 /* We use internal API */
 #include "gweather-private.h"
 
diff --git a/libgweather/tests/gweather-test-utils.h b/libgweather/tests/gweather-test-utils.h
index f94014ec..b38a7594 100644
--- a/libgweather/tests/gweather-test-utils.h
+++ b/libgweather/tests/gweather-test-utils.h
@@ -7,7 +7,6 @@
 #pragma once
 
 #include <glib.h>
-#include <glib/gstdio.h>
 #include <locale.h>
 #include <string.h>
 


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