diff --git a/src/ui/dialog/memory.h b/src/ui/dialog/memory.h
index 0fe7f87c575da149ac5c7e2f4e4494f2844c37cc..6f832f3e1c4f64f67a7af8d84eee4cc18892a878 100644 (file)
--- a/src/ui/dialog/memory.h
+++ b/src/ui/dialog/memory.h
#ifndef SEEN_INKSCAPE_UI_DIALOG_MEMORY_H
#define SEEN_INKSCAPE_UI_DIALOG_MEMORY_H
-#include "dialog.h"
+#include "ui/widget/panel.h"
namespace Inkscape {
namespace UI {
namespace Dialog {
-class Memory : public Dialog {
+class Memory : public UI::Widget::Panel {
public:
- Memory(Behavior::BehaviorFactory behavior_factory);
+ Memory();
~Memory();
- static Memory *create(Behavior::BehaviorFactory behavior_factory)
- { return new Memory(behavior_factory); }
+ static Memory &getInstance() { return *new Memory(); }
protected:
void _apply();