summaryrefslogtreecommitdiffstats
path: root/src/dialogs/tiledialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/tiledialog.h')
-rw-r--r--src/dialogs/tiledialog.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/dialogs/tiledialog.h b/src/dialogs/tiledialog.h
index 5fe114d83..a1201956a 100644
--- a/src/dialogs/tiledialog.h
+++ b/src/dialogs/tiledialog.h
@@ -23,7 +23,7 @@
#include <gtkmm/checkbutton.h>
#include <gtkmm/radiobutton.h>
-#include "ui/dialog/dialog.h"
+#include "ui/widget/panel.h"
namespace Inkscape {
namespace UI {
@@ -33,20 +33,19 @@ namespace Dialog {
/**
* A dialog that displays log messages
*/
-class TileDialog : public Dialog {
+class TileDialog : public UI::Widget::Panel {
public:
/**
* Constructor
*/
- TileDialog(Behavior::BehaviorFactory behavior_factory) ;
+ TileDialog() ;
/**
* Factory method
*/
- static TileDialog *create(Behavior::BehaviorFactory behavior_factory)
- { return new TileDialog(behavior_factory); }
+ static TileDialog& getInstance() { return *new TileDialog(); }
/**
* Destructor