[recipes] Clean up headers a bit
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Clean up headers a bit
- Date: Sat, 11 Mar 2017 21:02:47 +0000 (UTC)
commit dcac66c6a8230638704b27c1e47c51f1b4cabe04
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 11 15:53:48 2017 -0500
Clean up headers a bit
No need for gr-app.h to include gr-recipe-store.h anymore.
Just include it directly where it is needed.
src/gr-app.h | 1 -
src/gr-recipe-small-tile.c | 1 +
src/gr-recipe-tile.c | 1 +
src/gr-recipe.c | 1 +
src/gr-window.c | 1 +
5 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-app.h b/src/gr-app.h
index b0c1134..91f491c 100644
--- a/src/gr-app.h
+++ b/src/gr-app.h
@@ -19,7 +19,6 @@
#pragma once
#include <gtk/gtk.h>
-#include "gr-recipe-store.h"
G_BEGIN_DECLS
diff --git a/src/gr-recipe-small-tile.c b/src/gr-recipe-small-tile.c
index 9fdc85f..1316a74 100644
--- a/src/gr-recipe-small-tile.c
+++ b/src/gr-recipe-small-tile.c
@@ -25,6 +25,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "gr-recipe-small-tile.h"
+#include "gr-recipe-store.h"
#include "gr-window.h"
#include "gr-utils.h"
#include "gr-images.h"
diff --git a/src/gr-recipe-tile.c b/src/gr-recipe-tile.c
index 390da26..0d1f9a6 100644
--- a/src/gr-recipe-tile.c
+++ b/src/gr-recipe-tile.c
@@ -25,6 +25,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "gr-recipe-tile.h"
+#include "gr-recipe-store.h"
#include "gr-window.h"
#include "gr-utils.h"
#include "gr-images.h"
diff --git a/src/gr-recipe.c b/src/gr-recipe.c
index 3eba0e3..53c3a37 100644
--- a/src/gr-recipe.c
+++ b/src/gr-recipe.c
@@ -26,6 +26,7 @@
#include <gtk/gtk.h>
#include "gr-recipe.h"
+#include "gr-recipe-store.h"
#include "gr-images.h"
#include "gr-utils.h"
#include "gr-app.h"
diff --git a/src/gr-window.c b/src/gr-window.c
index 7f17340..fac926f 100644
--- a/src/gr-window.c
+++ b/src/gr-window.c
@@ -39,6 +39,7 @@
#include "gr-cuisines-page.h"
#include "gr-image-page.h"
#include "gr-query-editor.h"
+#include "gr-recipe-store.h"
#include "gr-recipe-importer.h"
#include "gr-recipe-exporter.h"
#include "gr-about-dialog.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]