From 6b7c00c28c5557fabaf6d16e44b8b870bd95e501 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 5 Apr 2012 01:02:23 +0000 Subject: Remove use of Glibmm variant wrapper which is inexplicably recent (fix #827). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4142 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/Port.hpp | 3 +-- src/Port.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ganv/Port.hpp b/ganv/Port.hpp index 6da655b..fdb3bf3 100644 --- a/ganv/Port.hpp +++ b/ganv/Port.hpp @@ -21,7 +21,6 @@ #include #include -#include #include "ganv/canvas-base.h" #include "ganv/Box.hpp" @@ -61,7 +60,7 @@ public: METHOD1(ganv_port, set_control_min, float, min) METHOD1(ganv_port, set_control_max, float, max) - sigc::signal signal_value_changed; + sigc::signal signal_value_changed; Module* get_module() const; diff --git a/src/Port.cpp b/src/Port.cpp index 902087e..0791f3c 100644 --- a/src/Port.cpp +++ b/src/Port.cpp @@ -28,7 +28,7 @@ namespace Ganv { static void on_value_changed(GanvPort* port, GVariant* value, void* portmm) { - ((Port*)portmm)->signal_value_changed.emit(Glib::VariantBase(value)); + ((Port*)portmm)->signal_value_changed.emit(value); } /** Contruct a Port on an existing module. -- cgit v1.2.1