From f51995e13679a37851baef8e7f52f2d993cbc7c1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 13 Sep 2016 17:11:58 +0000 Subject: mode old database junk to die git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Tox/src') diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp index fe1cb7abe5..9454085f55 100644 --- a/protocols/Tox/src/tox_events.cpp +++ b/protocols/Tox/src/tox_events.cpp @@ -24,10 +24,10 @@ void CToxProto::InitCustomDbEvents() dbEventType.eventType = DB_EVENT_ACTION; dbEventType.descr = Translate("Action"); - CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType); + DbEvent_RegisterType(&dbEventType); dbEventType.eventType = DB_EVENT_CALL; dbEventType.descr = Translate("Call"); dbEventType.eventIcon = GetIconHandle(IDI_AUDIO_START); - CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType); + DbEvent_RegisterType(&dbEventType); } \ No newline at end of file -- cgit v1.2.3