diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-01-03 18:27:25 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-01-03 18:27:25 +0000 |
| commit | 6eb2ec57aaced2e61f1f0d17f69485a68526387d (patch) | |
| tree | 56b7c8313d43a6061028f2be3df0603dfc161004 /src/ui | |
| parent | only give the simplest inkscape.pot creation option in the readme (diff) | |
| download | inkscape-6eb2ec57aaced2e61f1f0d17f69485a68526387d.tar.gz inkscape-6eb2ec57aaced2e61f1f0d17f69485a68526387d.zip | |
fix double construction of Button members
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/widget/button.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ui/widget/button.cpp b/src/ui/widget/button.cpp index ac6705577..c2bdcfd44 100644 --- a/src/ui/widget/button.cpp +++ b/src/ui/widget/button.cpp @@ -37,9 +37,6 @@ Button::~Button() if (_doubleclick_action) { set_doubleclick_action(nullptr); } - - _c_set_active.~connection(); - _c_set_sensitive.~connection(); } void @@ -127,9 +124,6 @@ Button::Button(GtkIconSize size, _type(type), _lsize(CLAMP(size, GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_DIALOG)) { - new (&_c_set_active) sigc::connection(); - new (&_c_set_sensitive) sigc::connection(); - set_border_width(0); set_can_focus(false); @@ -251,8 +245,6 @@ Button::Button(GtkIconSize size, _type(type), _lsize(CLAMP(size, GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_DIALOG)) { - new (&_c_set_active) sigc::connection(); - new (&_c_set_sensitive) sigc::connection(); set_border_width(0); set_can_focus(false); |
