[devhelp] util: remove useless #includes



commit 2e3edcac51923dd385d503211d01e32868d337be
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Jan 7 12:36:42 2018 +0100

    util: remove useless #includes

 src/dh-util.c |    6 +-----
 src/dh-util.h |    1 -
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/dh-util.c b/src/dh-util.c
index 81fd93c..26efc3b 100644
--- a/src/dh-util.c
+++ b/src/dh-util.c
@@ -18,12 +18,8 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "config.h"
 #include "dh-util.h"
-#include <string.h>
-#include <stdlib.h>
-#include <gtk/gtk.h>
-#include <math.h>
+#include "dh-link.h"
 
 gchar *
 dh_util_build_data_filename (const gchar *first_part,
diff --git a/src/dh-util.h b/src/dh-util.h
index 7eaa335..89708a8 100644
--- a/src/dh-util.h
+++ b/src/dh-util.h
@@ -23,7 +23,6 @@
 
 #include <gtk/gtk.h>
 #include <webkit2/webkit2.h>
-#include "dh-link.h"
 
 G_BEGIN_DECLS
 


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