summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/layer-editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/layer-editor.h')
-rw-r--r--src/ui/dialog/layer-editor.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ui/dialog/layer-editor.h b/src/ui/dialog/layer-editor.h
index 3c25c7bc0..0bb98dabf 100644
--- a/src/ui/dialog/layer-editor.h
+++ b/src/ui/dialog/layer-editor.h
@@ -12,7 +12,7 @@
#ifndef INKSCAPE_UI_DIALOG_LAYER_EDITOR_H
#define INKSCAPE_UI_DIALOG_LAYER_EDITOR_H
-#include "dialog.h"
+#include "ui/widget/panel.h"
#include <glibmm/i18n.h>
@@ -20,13 +20,14 @@ namespace Inkscape {
namespace UI {
namespace Dialog {
-class LayerEditor : public Dialog {
+class LayerEditor : public UI::Widget::Panel {
public:
- LayerEditor(Behavior::BehaviorFactory behavior_factory);
+ LayerEditor();
virtual ~LayerEditor();
- static LayerEditor *create(Behavior::BehaviorFactory behavior_factory)
- { return new LayerEditor(behavior_factory); }
+ static int get_verb();
+
+ static LayerEditor &getInstance() { return *new LayerEditor(); }
protected: