[devhelp] Clean up the #includes in app classes



commit c8de32adc9bdc536994556b885e7ba10d7d743cf
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Dec 20 17:27:32 2017 +0100

    Clean up the #includes in app classes
    
    DhApp and DhWindow are no longer part of the library.

 src/dh-app.c    |    2 +-
 src/dh-window.c |   11 +++--------
 2 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index 6c23927..5aa3207 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -22,7 +22,7 @@
 
 #include "config.h"
 #include "dh-app.h"
-#include <glib/gi18n-lib.h>
+#include <glib/gi18n.h>
 #include "dh-assistant.h"
 #include "dh-preferences.h"
 
diff --git a/src/dh-window.c b/src/dh-window.c
index e7a981a..2bf3762 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -18,20 +18,15 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "config.h"
 #include "dh-window.h"
-
-#include <string.h>
 #include <math.h>
-#include <glib/gi18n-lib.h>
-#include <gdk/gdkkeysyms.h>
+#include <glib/gi18n.h>
 #include <webkit2/webkit2.h>
-
-#include "dh-book-manager.h"
 #include "dh-book.h"
+#include "dh-book-manager.h"
+#include "dh-settings.h"
 #include "dh-sidebar.h"
 #include "dh-util.h"
-#include "dh-settings.h"
 
 typedef struct {
         GMenuModel     *gear_app_menu;


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