summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2014-03-09 03:44:03 +0000
committerMartin Owens <doctormo@gmail.com>2014-03-09 03:44:03 +0000
commiteb89a74bb3f220bba82de3c7ce3a73df951fab77 (patch)
tree88b3f0a936f9bdad764a3e65ab0ec8d14a6f9bb3 /src/widgets
parentFix random crashes when spraying in single path mode. (diff)
downloadinkscape-eb89a74bb3f220bba82de3c7ce3a73df951fab77.tar.gz
inkscape-eb89a74bb3f220bba82de3c7ce3a73df951fab77.zip
Remove unused includes to tidy up the code.
(bzr r13132)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/gradient-selector.h1
-rw-r--r--src/widgets/sp-color-icc-selector.h1
-rw-r--r--src/widgets/sp-color-wheel-selector.h1
-rw-r--r--src/widgets/sp-xmlview-attr-list.h2
-rw-r--r--src/widgets/sp-xmlview-content.h5
-rw-r--r--src/widgets/sp-xmlview-tree.h3
-rw-r--r--src/widgets/stroke-style.cpp1
7 files changed, 1 insertions, 13 deletions
diff --git a/src/widgets/gradient-selector.h b/src/widgets/gradient-selector.h
index c88666b06..1f58de2e4 100644
--- a/src/widgets/gradient-selector.h
+++ b/src/widgets/gradient-selector.h
@@ -37,7 +37,6 @@
#include "sp-gradient.h"
#include "sp-gradient-spread.h"
#include "sp-gradient-units.h"
-#include "gradient-image.h"
class SPGradient;
diff --git a/src/widgets/sp-color-icc-selector.h b/src/widgets/sp-color-icc-selector.h
index 3eb12222c..f63ab0853 100644
--- a/src/widgets/sp-color-icc-selector.h
+++ b/src/widgets/sp-color-icc-selector.h
@@ -4,7 +4,6 @@
#include <glib.h>
#include <gtk/gtk.h>
-#include "../color.h"
#include "sp-color-selector.h"
namespace Inkscape {
diff --git a/src/widgets/sp-color-wheel-selector.h b/src/widgets/sp-color-wheel-selector.h
index 8e0dc6cea..bbd377422 100644
--- a/src/widgets/sp-color-wheel-selector.h
+++ b/src/widgets/sp-color-wheel-selector.h
@@ -4,7 +4,6 @@
#include <glib.h>
#include <gtk/gtk.h>
-#include "../color.h"
#include "sp-color-slider.h"
#include "sp-color-selector.h"
diff --git a/src/widgets/sp-xmlview-attr-list.h b/src/widgets/sp-xmlview-attr-list.h
index 8b1dae49b..367ef1a12 100644
--- a/src/widgets/sp-xmlview-attr-list.h
+++ b/src/widgets/sp-xmlview-attr-list.h
@@ -14,8 +14,6 @@
#include <stdio.h>
#include <gtk/gtk.h>
-#include "../xml/repr.h"
-
#define SP_TYPE_XMLVIEW_ATTR_LIST (sp_xmlview_attr_list_get_type ())
diff --git a/src/widgets/sp-xmlview-content.h b/src/widgets/sp-xmlview-content.h
index 941ef0be1..8b1342c5e 100644
--- a/src/widgets/sp-xmlview-content.h
+++ b/src/widgets/sp-xmlview-content.h
@@ -13,16 +13,11 @@
*/
#include <config.h>
-
#include <stdio.h>
-
#include <gtk/gtk.h>
-#include "../xml/repr.h"
-
#include <glib.h>
-
#define SP_TYPE_XMLVIEW_CONTENT (sp_xmlview_content_get_type ())
#define SP_XMLVIEW_CONTENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_XMLVIEW_CONTENT, SPXMLViewContent))
#define SP_IS_XMLVIEW_CONTENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_XMLVIEW_CONTENT))
diff --git a/src/widgets/sp-xmlview-tree.h b/src/widgets/sp-xmlview-tree.h
index 50fcb3bc8..69228fa88 100644
--- a/src/widgets/sp-xmlview-tree.h
+++ b/src/widgets/sp-xmlview-tree.h
@@ -13,12 +13,9 @@
*/
#include <gtk/gtk.h>
-#include "../xml/repr.h"
-
#include <glib.h>
-
#define SP_TYPE_XMLVIEW_TREE (sp_xmlview_tree_get_type ())
#define SP_XMLVIEW_TREE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_XMLVIEW_TREE, SPXMLViewTree))
#define SP_IS_XMLVIEW_TREE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_XMLVIEW_TREE))
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index d140cfb21..dbfb1bcd2 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -24,6 +24,7 @@
#include "svg/svg-color.h"
#include "util/units.h"
#include "ui/widget/unit-menu.h"
+#include "desktop-widget.h"
using Inkscape::DocumentUndo;
using Inkscape::Util::unit_table;