summaryrefslogtreecommitdiffstats
path: root/src/widgets/desktop-widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/desktop-widget.h')
-rw-r--r--src/widgets/desktop-widget.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/widgets/desktop-widget.h b/src/widgets/desktop-widget.h
index bb9d7ef86..18348e594 100644
--- a/src/widgets/desktop-widget.h
+++ b/src/widgets/desktop-widget.h
@@ -90,6 +90,8 @@ struct SPDesktopWidget {
GtkWidget *zoom_status;
gulong zoom_update;
+ Inkscape::UI::Widget::Dock *dock;
+
Inkscape::UI::Widget::SelectedStyle *selected_style;
gint coord_status_id, select_status_id;
@@ -182,6 +184,8 @@ struct SPDesktopWidget {
{ _dtw->setMessage (type, msg); }
virtual bool warnDialog (gchar* text)
{ return _dtw->warnDialog (text); }
+ virtual Inkscape::UI::Widget::Dock* getDock ()
+ { return _dtw->getDock(); }
};
WidgetStub *stub;
@@ -207,8 +211,10 @@ struct SPDesktopWidget {
void enableInteraction();
void disableInteraction();
void updateTitle(gchar const *uri);
-
- bool onFocusInEvent(GdkEventFocus*);
+ bool onFocusInEvent(GdkEventFocus*);
+
+ Inkscape::UI::Widget::Dock* getDock();
+
};
/// The SPDesktopWidget vtable