summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-17 16:21:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-18 09:57:42 +0200
commit767188fd1b1e1f504864f9489076283ebc413625 (patch)
tree1a0361d69048e9192cfe3c0b56627ed85e576f81 /vcl
parente0d856947af9b29ed9cd0df6e59c384e27f96c0b (diff)
make PlaceEditDialog a bit more ordinary
the various part of PlaceEditDialog are unusual in binding multiple things to a set of shared widgets with a bunch of multiple LINKS to the same things and using the most recent one shown to displace the previous handlers End up with multiple notifications in the gtk3 case, rework this to have a single owner of the widgets so it can do what it wants to do. Change-Id: I65826a69ce2f1d4279f6e8091a518777fcfeca07 Reviewed-on: https://gerrit.libreoffice.org/54496 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/salvtables.cxx5
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx5
2 files changed, 0 insertions, 10 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 9556fcd8c659..89a03c187d7e 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -879,11 +879,6 @@ public:
return m_xButton->GetText();
}
- virtual void clicked() override
- {
- m_xButton->Click();
- }
-
virtual ~SalInstanceButton() override
{
m_xButton->SetClickHdl(Link<::Button*,void>());
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index a8214280624c..b882d68a6798 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2517,11 +2517,6 @@ public:
return ::get_label(m_pButton);
}
- virtual void clicked() override
- {
- gtk_button_clicked(m_pButton);
- }
-
// allow us to block buttons with click handlers making dialogs return a response
bool has_click_handler() const
{