summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2017-03-21 10:28:53 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2017-03-21 10:28:53 +0000
commit4d515ad0866cbb3031bfd6fe96cd89b3479e85c9 (patch)
tree957097311e292bb13ba107f39c03d303b1f27625 /libs/gtkmm2ext
parentde0e401214c83143b6c33d7fe4357b6a2a8e84f1 (diff)
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)
Diffstat (limited to 'libs/gtkmm2ext')
-rw-r--r--libs/gtkmm2ext/eventboxext.cc25
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/eventboxext.h1
2 files changed, 26 insertions, 0 deletions
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 <robin@gareus.org>
+ *
+ * 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: