diff options
Diffstat (limited to 'src/ui/view')
| -rw-r--r-- | src/ui/view/edit-widget.h | 6 | ||||
| -rw-r--r-- | src/ui/view/view.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/view/edit-widget.h b/src/ui/view/edit-widget.h index 2bb708305..28b4b52d2 100644 --- a/src/ui/view/edit-widget.h +++ b/src/ui/view/edit-widget.h @@ -36,7 +36,7 @@ #include "ui/widget/zoom-status.h" struct SPDesktop; -struct SPDocument; +struct Document; struct SPNamedView; namespace Inkscape { @@ -46,14 +46,14 @@ namespace View { class EditWidget : public Gtk::Window, public EditWidgetInterface { public: - EditWidget (SPDocument*); + EditWidget (Document*); ~EditWidget(); // Initialization void initActions(); void initUIManager(); void initLayout(); - void initEdit (SPDocument*); + void initEdit (Document*); void destroyEdit(); // Actions diff --git a/src/ui/view/view.h b/src/ui/view/view.h index 882746cea..6465807d6 100644 --- a/src/ui/view/view.h +++ b/src/ui/view/view.h @@ -53,7 +53,7 @@ struct StopOnNonZero { } }; -class SPDocument; +class Document; namespace Inkscape { class MessageContext; @@ -80,7 +80,7 @@ public: void close() { _close(); } /// Returns a pointer to the view's document. - SPDocument *doc() const + Document *doc() const { return _doc; } /// Returns a pointer to the view's message stack. Inkscape::MessageStack *messageStack() const @@ -108,12 +108,12 @@ public: virtual void onDocumentResized (double, double) = 0; protected: - SPDocument *_doc; + Document *_doc; Inkscape::MessageStack *_message_stack; Inkscape::MessageContext *_tips_message_context; virtual void _close(); - virtual void setDocument(SPDocument *doc); + virtual void setDocument(Document *doc); sigc::signal<void,double,double> _position_set_signal; sigc::signal<void,double,double> _resized_signal; |
