Code

Committing fixed patch for autosave. Fixes bug #171092.
[inkscape.git] / src / ui / dialog / transformation.h
index 0c7833c9e72703f4a7d75a0e9aba381989dd5a87..e64353f5a1e6bde0e5fb904b8177703a7dbef503 100644 (file)
@@ -19,7 +19,7 @@
 
 
 
-#include "dialog.h"
+#include "ui/widget/panel.h"
 #include "application/application.h"
 #include "ui/widget/notebook-page.h"
 #include "ui/widget/scalar-unit.h"
@@ -38,7 +38,7 @@ namespace Dialog {
 
 
 
-class Transformation : public Dialog
+class Transformation : public UI::Widget::Panel
 {
 
 public:
@@ -53,12 +53,11 @@ public:
      */
     virtual ~Transformation();
 
-
     /**
      * Factory method.  Create an instance of this class/interface
      */
-    static Transformation *create()
-        { return new Transformation(); }
+    static Transformation &getInstance()
+        { return *new Transformation(); }
 
 
     /**