libmalcontent: Add a constructor to bind the translation domain
This ensures that the translation domain is loaded for malcontent as soon as the library is loaded. The same is not needed for libmalcontent-ui, because it always causes libmalcontent to be loaded. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
3556813c55
commit
28d496926d
3 changed files with 175 additions and 0 deletions
|
@ -2,6 +2,7 @@ libmalcontent_api_version = '0'
|
|||
libmalcontent_api_name = 'malcontent-' + libmalcontent_api_version
|
||||
libmalcontent_sources = [
|
||||
'app-filter.c',
|
||||
'init.c',
|
||||
'manager.c',
|
||||
'session-limits.c',
|
||||
]
|
||||
|
@ -13,6 +14,7 @@ libmalcontent_headers = [
|
|||
]
|
||||
libmalcontent_private_headers = [
|
||||
'app-filter-private.h',
|
||||
'gconstructor.h',
|
||||
'session-limits-private.h',
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue