From: Lars Op den Kamp Date: Fri, 10 Feb 2012 11:44:34 +0000 (+0100) Subject: cec: don't override callback methods in the new LibCecSharp constructor X-Git-Tag: upstream/2.2.0~1^2~35^2~113 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=46fb055c33e86ddc180af3374c28008bfc0c567b;p=deb_libcec.git cec: don't override callback methods in the new LibCecSharp constructor --- diff --git a/src/LibCecSharp/LibCecSharp.cpp b/src/LibCecSharp/LibCecSharp.cpp index 0f9acb1..6cdc6ab 100644 --- a/src/LibCecSharp/LibCecSharp.cpp +++ b/src/LibCecSharp/LibCecSharp.cpp @@ -46,7 +46,7 @@ namespace CecSharp LibCecSharp(LibCECConfiguration ^config) { m_configuration = config; - m_configuration->SetCallbacks(this); + CecCallbackMethods::EnableCallbacks(m_configuration->Callbacks); if (!InitialiseLibCec()) throw gcnew Exception("Could not initialise LibCecSharp"); }