summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/toolbar/node-toolbar.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/ui/toolbar/node-toolbar.h b/src/ui/toolbar/node-toolbar.h
index 80673a833..f688173b6 100644
--- a/src/ui/toolbar/node-toolbar.h
+++ b/src/ui/toolbar/node-toolbar.h
@@ -54,13 +54,13 @@ class UnitTracker;
namespace Toolbar {
class NodeToolbar : public Toolbar {
private:
- UI::Widget::UnitTracker *_tracker;
+ std::unique_ptr<UI::Widget::UnitTracker> _tracker;
- PrefPusher *_pusher_show_transform_handles;
- PrefPusher *_pusher_show_handles;
- PrefPusher *_pusher_show_outline;
- PrefPusher *_pusher_edit_clipping_paths;
- PrefPusher *_pusher_edit_masks;
+ std::unique_ptr<PrefPusher> _pusher_show_transform_handles;
+ std::unique_ptr<PrefPusher> _pusher_show_handles;
+ std::unique_ptr<PrefPusher> _pusher_show_outline;
+ std::unique_ptr<PrefPusher> _pusher_edit_clipping_paths;
+ std::unique_ptr<PrefPusher> _pusher_edit_masks;
InkAction *_nodes_lpeedit;
@@ -84,7 +84,6 @@ private:
protected:
NodeToolbar(SPDesktop *desktop);
- ~NodeToolbar() override;
public:
static GtkWidget * prep(SPDesktop *desktop, GtkActionGroup* mainActions);