From 6eb2ec57aaced2e61f1f0d17f69485a68526387d Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Thu, 3 Jan 2019 19:27:25 +0100 Subject: fix double construction of Button members --- src/ui/widget/button.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/ui/widget/button.cpp') 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); -- cgit v1.2.3