From 46fb055c33e86ddc180af3374c28008bfc0c567b Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 10 Feb 2012 12:44:34 +0100 Subject: [PATCH] cec: don't override callback methods in the new LibCecSharp constructor --- src/LibCecSharp/LibCecSharp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.34.1