mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
clapper-app: Fix internal functions visibility
We have to export functions that are used from UI files, otherwise they are not accessible. For this reason add a special internal visibility header.
This commit is contained in:
@@ -53,6 +53,19 @@ configure_file(
|
||||
configuration: config_h,
|
||||
)
|
||||
|
||||
visibility_conf = configuration_data()
|
||||
|
||||
visibility_conf.set(
|
||||
'CLAPPER_API',
|
||||
'CLAPPER_APP_INTERNAL',
|
||||
)
|
||||
|
||||
configure_file(
|
||||
input: '../../lib/shared/clapper-api-visibility.h.in',
|
||||
output: 'clapper-app-internal-visibility.h',
|
||||
configuration: visibility_conf,
|
||||
)
|
||||
|
||||
clapperapp_sources = [
|
||||
'clapper-app-about-window.c',
|
||||
'clapper-app-application.c',
|
||||
@@ -77,6 +90,7 @@ clapperapp_sources = [
|
||||
]
|
||||
clapperapp_c_args = [
|
||||
'-DG_LOG_DOMAIN="ClapperApp"',
|
||||
'-DCLAPPER_APP_INTERNAL_COMPILATION',
|
||||
'-DGST_USE_UNSTABLE_API',
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user