diff options
| author | Victor Kareh <[email protected]> | 2026-08-17 10:21:58 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-08-17 10:21:58 -0400 |
| commit | e72c0b77ec56d5000719ddb362dfa0484ea5f795 (patch) | |
| tree | 570448c39b7223f74ca2653b1a3390790c9ee967 /libmate-panel-applet/meson.build | |
| parent | d869608bba160725b5c16fa4919722e29d843521 (diff) | |
| download | mate-panel-fix-meson-libmate-panel-applet.tar.bz2 mate-panel-fix-meson-libmate-panel-applet.tar.xz | |
build: Fix Python applet bindings under Mesonfix-meson-libmate-panel-applet
Meson introspection step stripped the MatePanelApplet prefix, so Python
applets failed to load with a missing factory_main attribute. This only
affected mate-panel built with meson, autotools worked fine.
This fix matches the symbol/identifier prefixes with autotools so the
introspection data is generated correctly.
Diffstat (limited to 'libmate-panel-applet/meson.build')
| -rw-r--r-- | libmate-panel-applet/meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libmate-panel-applet/meson.build b/libmate-panel-applet/meson.build index 4eb4fe27..d32712e4 100644 --- a/libmate-panel-applet/meson.build +++ b/libmate-panel-applet/meson.build @@ -131,14 +131,13 @@ if enable_introspection.allowed() sources: introspection_sources + built_introspection_sources, nsversion: mate_panel_gir_version, namespace: mate_panel_gir_ns, - symbol_prefix: 'mate_panel_applet', - identifier_prefix: 'MatePanelApplet', + symbol_prefix: 'mate_panel', + identifier_prefix: 'MatePanel', export_packages: 'libmatepanelapplet-@0@'.format(mate_panel_api_version), includes: ['GObject-2.0', 'Gtk-3.0', 'Gio-2.0'], install: true, extra_args: [ '--warn-all', - '--strip-prefix=MatePanel', '--add-include-path=@0@'.format(meson.current_source_dir()), ], ) |
