From 4d515ad0866cbb3031bfd6fe96cd89b3479e85c9 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Tue, 21 Mar 2017 10:28:53 +0000 Subject: [PATCH] The new class 'Gtkmm2ext::EventBoxExt' needs to be exportable when building with MSVC (previously the c'tor was private and nothing was getting exported anyway) --- libs/gtkmm2ext/eventboxext.cc | 25 +++++++++++++++++++++++++ libs/gtkmm2ext/gtkmm2ext/eventboxext.h | 1 + 2 files changed, 26 insertions(+) create mode 100644 libs/gtkmm2ext/eventboxext.cc diff --git a/libs/gtkmm2ext/eventboxext.cc b/libs/gtkmm2ext/eventboxext.cc new file mode 100644 index 0000000000..8101b9d6b5 --- /dev/null +++ b/libs/gtkmm2ext/eventboxext.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2017 Robin Gareus + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#include "gtkmm2ext/eventboxext.h" + +using namespace Gtkmm2ext; + +EventBoxExt::EventBoxExt () +{ +} diff --git a/libs/gtkmm2ext/gtkmm2ext/eventboxext.h b/libs/gtkmm2ext/gtkmm2ext/eventboxext.h index 9f164ef9bb..a1a53fbdfa 100644 --- a/libs/gtkmm2ext/gtkmm2ext/eventboxext.h +++ b/libs/gtkmm2ext/gtkmm2ext/eventboxext.h @@ -28,6 +28,7 @@ namespace Gtkmm2ext { class LIBGTKMM2EXT_API EventBoxExt : public Gtk::EventBox { public: + EventBoxExt (); virtual ~EventBoxExt () {} protected: -- 2.30.2