summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/export.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/export.h')
-rw-r--r--src/ui/dialog/export.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ui/dialog/export.h b/src/ui/dialog/export.h
index c47c7c8cc..5d83ae5df 100644
--- a/src/ui/dialog/export.h
+++ b/src/ui/dialog/export.h
@@ -15,7 +15,7 @@
#include <gtkmm/notebook.h>
#include <glibmm/i18n.h>
-#include "dialog.h"
+#include "ui/widget/panel.h"
#include "ui/widget/notebook-page.h"
using namespace Inkscape::UI::Widget;
@@ -24,13 +24,12 @@ namespace Inkscape {
namespace UI {
namespace Dialog {
-class Export : public Dialog {
+class Export : public UI::Widget::Panel {
public:
- Export(Behavior::BehaviorFactory behavior_factory);
+ Export();
virtual ~Export();
- static Export *create(Behavior::BehaviorFactory behavior_factory)
- { return new Export(behavior_factory); }
+ static Export& getInstance() { return *new Export(); }
protected:
Gtk::Notebook _notebook;