diff options
author | Oz Tiram <[email protected]> | 2025-04-04 14:22:27 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2025-04-04 22:19:13 +0000 |
commit | 617326e3a0e21c712a889747f845b236fc21d426 (patch) | |
tree | ed8b580f0378791e76e9ff51ff666f2651de4846 | |
parent | 425b36ec07ea236c266ba63a93b670b472a1b130 (diff) | |
download | atril-617326e3a0e21c712a889747f845b236fc21d426.tar.bz2 atril-617326e3a0e21c712a889747f845b236fc21d426.tar.xz |
fix: generate dbus generated with the correct prefix
Signed-off-by: Oz Tiram <[email protected]>
-rw-r--r-- | shell/meson.build | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/shell/meson.build b/shell/meson.build index f3134949..268416ef 100644 --- a/shell/meson.build +++ b/shell/meson.build @@ -110,7 +110,7 @@ if get_option('enable_dbus') dbus_generated = gnome.gdbus_codegen( 'ev-gdbus-generated', 'ev-gdbus.xml', - interface_prefix: 'org.mate.atril.reader', + interface_prefix: 'org.mate.atril', namespace: 'Ev', object_manager: true, ) @@ -121,18 +121,14 @@ if get_option('enable_dbus') dbus_daemon_generated = gnome.gdbus_codegen( 'ev-daemon-gdbus-generated', 'ev-daemon-gdbus.xml', - interface_prefix: 'org.mate.atril.reader', + interface_prefix: 'org.mate.atril', namespace: 'Ev', object_manager: true, ) - # Create the daemon executable - # Use a custom_target to ensure the generated files are properly compiled - daemon_sources = ['ev-daemon.c', 'ev-daemon-gdbus-generated.c', 'ev-daemon-gdbus-generated.h'] - executable( 'atrild', - sources: daemon_sources, + sources: ['ev-daemon.c', ] + dbus_daemon_generated, include_directories: include_dirs, dependencies: atril_deps, c_args: c_args, |