This fixes a build failure on Debian/Ubuntu.

BugLink: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713713
Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 libs/gtkmm2ext/gtk_ui.cc | 2 ++
 1 file changed, 2 insertions(+)

I'm not a C++ template expert, so I'm not sure this is the most elegant fix,
but at least it builds now. I found it on git trunk too (2.0-ongoing branch), 
so I'm including Paul Davis as well.

diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc
index 291740c..0894b07 100644
--- a/libs/gtkmm2ext/gtk_ui.cc
+++ b/libs/gtkmm2ext/gtk_ui.cc
@@ -63,6 +63,8 @@ BaseUI::RequestType Gtkmm2ext::AddTimeout = 
BaseUI::new_request_type();
 
 #include <pbd/abstract_ui.cc>  /* instantiate the template */
 
+template class AbstractUI<Gtkmm2ext::UIRequest>;
+
 UI::UI (string namestr, int *argc, char ***argv) 
        : AbstractUI<UIRequest> (namestr, true)
 {
-- 
1.8.3.2


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to