From: Uwe Hermann Date: Fri, 30 Jan 2015 18:39:30 +0000 (+0100) Subject: Fix the build for older glibmm versions. X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=commitdiff_plain;h=0aff286e72c0fb99e2dfeed565a8f5470b2296f0;hp=0aff286e72c0fb99e2dfeed565a8f5470b2296f0 Fix the build for older glibmm versions. With older glibmm versions the following error occured: pv/toolbars/mainbar.cpp:228:6: error: no match for ‘operator!’ (operand type is ‘Glib::VariantContainerBase’) if (!gvar_dict) { ^ Work around the above issue by using .gobj() and not relying on "Glib::VariantBase::operator BoolExpr() const", which was only added in glibmm 2.36. This fixes bug #548. Tested on a Debian stable system with glibmm 2.32.1 and Boost 1.49. ---