Code

noop: reverted one line of commit #17642 (it's safe to call g_free with NULL)
[inkscape.git] / src / ui / dialog / text-properties.h
index 393ca63b2db72a3e8f52c2f28cd2bf6ecf3ea24b..f6ef0d861e97d1e3797b67dd8dbb9ddd19ebe870 100644 (file)
@@ -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,14 @@ namespace Inkscape {
 namespace UI {
 namespace Dialog {
 
-class TextProperties : public Dialog {
+class TextProperties : public UI::Widget::Panel {
 public:
-    TextProperties(Behavior::BehaviorFactory behavior_factory);
+    TextProperties();
     virtual ~TextProperties();
 
-    static TextProperties *create(Behavior::BehaviorFactory behavior_factory) 
-    { return new TextProperties(behavior_factory); }
+    static int get_verb();
+
+    static TextProperties &getInstance() { return *new TextProperties(); }
 
 protected:
     Gtk::Notebook  _notebook;