[devhelp/wip/swilmet/misc-improvements: 11/14] Remove some useless #includes
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/swilmet/misc-improvements: 11/14] Remove some useless #includes
- Date: Fri, 29 May 2015 14:10:33 +0000 (UTC)
commit 43a1334ef8d874caecd7bceabcfb5609401b2db7
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun May 24 14:48:41 2015 +0200
Remove some useless #includes
https://bugzilla.gnome.org/show_bug.cgi?id=749797
src/dh-app.c | 1 -
src/dh-assistant-view.c | 2 --
src/dh-assistant.c | 4 ----
src/dh-book-manager.c | 3 ---
src/dh-book-tree.c | 5 -----
src/dh-book.c | 1 -
src/dh-main.c | 4 ----
src/dh-sidebar.c | 5 -----
src/dh-util.h | 1 -
9 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index c4d9f5f..1f7e1af 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -27,7 +27,6 @@
#include "devhelp.h"
#include "dh-preferences.h"
-#include "dh-util.h"
typedef struct {
DhBookManager *book_manager;
diff --git a/src/dh-assistant-view.c b/src/dh-assistant-view.c
index 0ea1098..f4d911f 100644
--- a/src/dh-assistant-view.c
+++ b/src/dh-assistant-view.c
@@ -23,9 +23,7 @@
#include "dh-assistant-view.h"
#include <string.h>
#include <glib/gi18n-lib.h>
-#include "dh-link.h"
#include "dh-util.h"
-#include "dh-book-manager.h"
#include "dh-book.h"
typedef struct {
diff --git a/src/dh-assistant.c b/src/dh-assistant.c
index 5dc408f..26e2157 100644
--- a/src/dh-assistant.c
+++ b/src/dh-assistant.c
@@ -18,10 +18,6 @@
#include "config.h"
#include "dh-assistant.h"
-#include <string.h>
-#include <glib/gi18n-lib.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
#include "dh-window.h"
#include "dh-util.h"
#include "dh-assistant-view.h"
diff --git a/src/dh-book-manager.c b/src/dh-book-manager.c
index 1f5ebb5..1b19c00 100644
--- a/src/dh-book-manager.c
+++ b/src/dh-book-manager.c
@@ -22,9 +22,6 @@
#include "config.h"
#include "dh-book-manager.h"
-
-#include <string.h>
-
#include "dh-link.h"
#include "dh-book.h"
#include "dh-language.h"
diff --git a/src/dh-book-tree.c b/src/dh-book-tree.c
index 4afe106..1aa816f 100644
--- a/src/dh-book-tree.c
+++ b/src/dh-book-tree.c
@@ -21,11 +21,6 @@
#include "config.h"
#include "dh-book-tree.h"
-
-#include <string.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
-
#include "dh-book.h"
typedef struct {
diff --git a/src/dh-book.c b/src/dh-book.c
index 175a6b3..c4bb133 100644
--- a/src/dh-book.c
+++ b/src/dh-book.c
@@ -22,7 +22,6 @@
#include "config.h"
#include "dh-book.h"
-#include <string.h>
#include <glib/gi18n.h>
#include "dh-link.h"
diff --git a/src/dh-main.c b/src/dh-main.c
index 766c4a2..77e2a8d 100644
--- a/src/dh-main.c
+++ b/src/dh-main.c
@@ -19,14 +19,10 @@
#include "config.h"
-#include <stdlib.h>
#include <locale.h>
-#include <string.h>
-
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include "devhelp.h"
#include "dh-app.h"
int
diff --git a/src/dh-sidebar.c b/src/dh-sidebar.c
index 7ff3105..c3476aa 100644
--- a/src/dh-sidebar.c
+++ b/src/dh-sidebar.c
@@ -24,13 +24,8 @@
#include "dh-sidebar.h"
#include <string.h>
-#include <glib/gi18n-lib.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
#include "dh-keyword-model.h"
-#include "dh-util.h"
-#include "dh-book-manager.h"
#include "dh-book.h"
#include "dh-book-tree.h"
diff --git a/src/dh-util.h b/src/dh-util.h
index 1c6cc05..1a7b203 100644
--- a/src/dh-util.h
+++ b/src/dh-util.h
@@ -21,7 +21,6 @@
#define __DH_UTIL_H__
#include <gtk/gtk.h>
-#include <gio/gio.h>
#include <webkit2/webkit2.h>
#include "dh-link.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]