From a97e7d1a9697e909ee204fef186184361cf211a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Mon, 12 May 2025 22:57:51 +0200 Subject: [PATCH] clapper: Avoid using hardcoded API name in enhancers loader on win32 --- src/lib/clapper/clapper-enhancers-loader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/clapper/clapper-enhancers-loader.c b/src/lib/clapper/clapper-enhancers-loader.c index 63cf4c98..1969376b 100644 --- a/src/lib/clapper/clapper-enhancers-loader.c +++ b/src/lib/clapper/clapper-enhancers-loader.c @@ -75,9 +75,8 @@ clapper_enhancers_loader_initialize (ClapperEnhancerProxyList *proxies) win_base_dir = g_win32_get_package_installation_directory_of_module ( _enhancers_dll_handle); - /* FIXME: Avoid hardcoded major version */ custom_path = g_build_filename (win_base_dir, - "lib", "clapper-0.0", "enhancers", NULL); + "lib", CLAPPER_API_NAME, "enhancers", NULL); enhancers_path = custom_path; // assign temporarily g_free (win_base_dir);