summaryrefslogtreecommitdiffstats
path: root/src/sp-guide.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-10-02 22:44:54 +0000
committerjabiertxof <info@marker.es>2016-10-02 22:44:54 +0000
commit90e142963afd950b2868434075890054aef090b3 (patch)
treeedcaf3d0d85b614e5f327fb58c909ffee5207e26 /src/sp-guide.cpp
parentAdded some widgets from caligraphic tool (diff)
parentAdjust dock size to minimum width during canvas table size allocation signal. (diff)
downloadinkscape-90e142963afd950b2868434075890054aef090b3.tar.gz
inkscape-90e142963afd950b2868434075890054aef090b3.zip
Update to trunk and some fixes
(bzr r14865.1.14)
Diffstat (limited to 'src/sp-guide.cpp')
-rw-r--r--src/sp-guide.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp
index c80fc7122..ff0f6cadb 100644
--- a/src/sp-guide.cpp
+++ b/src/sp-guide.cpp
@@ -16,7 +16,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include <config.h>
+#include <config.h>
#endif
#include <algorithm>
@@ -31,8 +31,6 @@
#include "attributes.h"
#include "sp-guide.h"
#include <sp-item-notify-moveto.h>
-#include <sp-item.h>
-#include <sp-guide-constraint.h>
#include <glibmm/i18n.h>
#include <xml/repr.h>
#include <remove-last.h>
@@ -40,8 +38,6 @@
#include "desktop.h"
#include "sp-root.h"
#include "sp-namedview.h"
-#include <2geom/angle.h>
-#include "document.h"
#include "document-undo.h"
#include "helper-fns.h"
#include "verbs.h"
@@ -196,6 +192,7 @@ void SPGuide::set(unsigned int key, const gchar *value) {
}
}
+/* Only used internally and in sp-line.cpp */
SPGuide *SPGuide::createSPGuide(SPDocument *doc, Geom::Point const &pt1, Geom::Point const &pt2)
{
Inkscape::XML::Document *xml_doc = doc->getReprDoc();