[librsvg] Remove unnecessary includes
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Remove unnecessary includes
- Date: Fri, 1 Sep 2017 14:46:27 +0000 (UTC)
commit 6dab70a53f480a61ca04c3b93d83b8b23a464842
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Aug 31 13:46:29 2017 -0500
Remove unnecessary includes
rsvg-base-file-util.c | 3 +--
rsvg-base.c | 3 +--
rsvg-cairo-render.c | 2 +-
rsvg-cond.c | 1 -
rsvg-file-util.c | 1 -
rsvg-filter.h | 3 +--
rsvg-gobject.c | 1 -
rsvg-styles.c | 1 -
rsvg.c | 1 -
9 files changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/rsvg-base-file-util.c b/rsvg-base-file-util.c
index 5c6c4f7..d33f93f 100644
--- a/rsvg-base-file-util.c
+++ b/rsvg-base-file-util.c
@@ -25,9 +25,8 @@
*/
#include "config.h"
-#include "rsvg.h"
-#include "rsvg-io.h"
#include "rsvg-private.h"
+#include "rsvg-io.h"
static gboolean
rsvg_handle_fill_with_data (RsvgHandle * handle,
diff --git a/rsvg-base.c b/rsvg-base.c
index 271badc..e6a6192 100644
--- a/rsvg-base.c
+++ b/rsvg-base.c
@@ -27,9 +27,8 @@
#include "config.h"
#define _GNU_SOURCE 1
-#include "rsvg.h"
-#include "rsvg-compat.h"
#include "rsvg-private.h"
+#include "rsvg-compat.h"
#include "rsvg-css.h"
#include "rsvg-styles.h"
#include "rsvg-shapes.h"
diff --git a/rsvg-cairo-render.c b/rsvg-cairo-render.c
index c94a97d..892fd03 100644
--- a/rsvg-cairo-render.c
+++ b/rsvg-cairo-render.c
@@ -33,7 +33,7 @@
#include <math.h>
#include <string.h>
-#include "rsvg.h"
+#include "rsvg-private.h"
#include "rsvg-defs.h"
#include "rsvg-cairo.h"
#include "rsvg-cairo-draw.h"
diff --git a/rsvg-cond.c b/rsvg-cond.c
index 57da4f3..e83bdfd 100644
--- a/rsvg-cond.c
+++ b/rsvg-cond.c
@@ -25,7 +25,6 @@
#include "config.h"
-#include "rsvg.h"
#include "rsvg-private.h"
#include "rsvg-css.h"
#include "rsvg-styles.h"
diff --git a/rsvg-file-util.c b/rsvg-file-util.c
index 4c56663..947ef46 100644
--- a/rsvg-file-util.c
+++ b/rsvg-file-util.c
@@ -34,7 +34,6 @@
*/
#include "config.h"
-#include "rsvg.h"
#include "rsvg-private.h"
#include "rsvg-io.h"
#include "rsvg-size-callback.h"
diff --git a/rsvg-filter.h b/rsvg-filter.h
index ea14dc5..b0b67b4 100644
--- a/rsvg-filter.h
+++ b/rsvg-filter.h
@@ -26,8 +26,7 @@
#ifndef RSVG_FILTER_H
#define RSVG_FILTER_H
-#include "rsvg.h"
-#include "rsvg-defs.h"
+#include "rsvg-private.h"
G_BEGIN_DECLS
diff --git a/rsvg-gobject.c b/rsvg-gobject.c
index d496bcf..a6ded9a 100644
--- a/rsvg-gobject.c
+++ b/rsvg-gobject.c
@@ -39,7 +39,6 @@
#include "rsvg-private.h"
#include "rsvg-defs.h"
-#include "rsvg.h"
enum {
PROP_0,
diff --git a/rsvg-styles.c b/rsvg-styles.c
index 338278e..efba208 100644
--- a/rsvg-styles.c
+++ b/rsvg-styles.c
@@ -29,7 +29,6 @@
#include <string.h>
#include <math.h>
-#include "rsvg.h"
#include "rsvg-private.h"
#include "rsvg-filter.h"
#include "rsvg-css.h"
diff --git a/rsvg.c b/rsvg.c
index 3123e88..1004536 100644
--- a/rsvg.c
+++ b/rsvg.c
@@ -26,7 +26,6 @@
#include "config.h"
-#include "rsvg.h"
#include "rsvg-private.h"
#include "rsvg-css.h"
#include "rsvg-styles.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]