Code

fix undo bug in nodepath_preserve; fix crash caused by nodepath_cleanup deleting...
[inkscape.git] / src / document.h
index f06ad2f6d9ab86fc770cb8aa46a8827b2c98e74f..4d293e981479a12f1fa68c0b7533621aef8bbd77 100644 (file)
@@ -26,6 +26,7 @@
 #include "gc-managed.h"
 #include "gc-finalized.h"
 #include "gc-anchored.h"
+#include <glibmm/ustring.h>
 
 namespace Avoid {
 class Router;
@@ -98,6 +99,8 @@ struct SPDocument : public Inkscape::GC::Managed<>,
        void bindObjectToRepr(Inkscape::XML::Node *repr, SPObject *object);
        SPObject *getObjectByRepr(Inkscape::XML::Node *repr);
 
+    Glib::ustring getLanguage();
+
        void queueForOrphanCollection(SPObject *object);
        void collectOrphans();
 
@@ -122,7 +125,7 @@ public:
         sigc::connection _selection_changed_connection;
         sigc::connection _desktop_activated_connection;
 
-       void SPDocument::fitToRect(NRRect const & rect);
+       void fitToRect(NRRect const & rect);
 };
 
 SPDocument *sp_document_new (const gchar *uri, unsigned int keepalive, bool make_new = false);