From d5478dd0761a205a2e9079efd6e808e06d966f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Wasylk=C3=B3w?= Date: Sun, 12 May 2024 17:10:16 +0200 Subject: [PATCH] Use DDB_API_LEVEL for minimal required version (defined in mprisServer.h) (fixes #8) --- src/mpris.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpris.c b/src/mpris.c index 846fb4c..828e3d4 100644 --- a/src/mpris.c +++ b/src/mpris.c @@ -184,8 +184,8 @@ static const char settings_dlg[] = DB_misc_t plugin = { - .plugin.api_vmajor = DB_API_VERSION_MAJOR,\ - .plugin.api_vminor = DB_API_VERSION_MINOR, + .plugin.api_vmajor = 1, + .plugin.api_vminor = DDB_API_LEVEL, .plugin.type = DB_PLUGIN_MISC, .plugin.version_major = PLUGIN_VERSION_MAJOR, .plugin.version_minor = PLUGIN_VERSION_MINOR,