aboutsummaryrefslogtreecommitdiffhomepage
path: root/meson.build
diff options
context:
space:
mode:
authorTrung Lê <8@tle.id.au>2026-02-22 11:29:18 +1100
committerTrung Lê <8@tle.id.au>2026-02-22 11:29:18 +1100
commit9690617ae3855ab9f58e5bce0f55b4842b9832e5 (patch)
tree22fb5532cbaf4a6f0c4b1714f563aebf68b52918 /meson.build
parent442c8be65ac2ba1fdcbcfa8204adec5fecb2c474 (diff)
Prepare 1.0.0: fix memory leaks, use-after-free bugs, and code quality issues
- Version 6.0.0 → 1.0.0, C standard gnu17 → gnu23 - Fix desktop file path (was referencing parent directory) - global_shortcuts.c: fix systematic GVariant/GDBusProxy leaks, guint64-to-gchar* type mismatch, buffer overflow risk, missing malloc NULL checks, debug artifacts - gsr-window.c: fix notification timeout use-after-free, menu object leak in finalize, localtime NULL check, extract active_mode_to_string helper - gsr-stream-page.c, gsr-record-page.c, gsr-replay-page.c: fix timer source leak in finalize (use-after-free if destroyed while timer running) - gsr-shortcut-accel-dialog.c: fix Pango markup injection via shortcut titles - gsr-info.c: fix pclose UB, replace fprintf with g_warning - gsr-config.c: include errno in fopen failure warning - Remove unused include, stale Phase 5 comments
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index c891547..15f285b 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('gpu-screen-recorder-adwaita', 'c',
- version : '6.0.0',
- default_options : ['warning_level=2', 'c_std=gnu17'],
+ version : '1.0.0',
+ default_options : ['warning_level=2', 'c_std=gnu23'],
)
add_project_arguments('-Wshadow', language : 'c')
@@ -57,7 +57,7 @@ executable('gpu-screen-recorder-adw',
)
install_data(
- files('../com.dec05eba.gpu_screen_recorder.desktop'),
+ files('com.dec05eba.gpu_screen_recorder.desktop'),
install_dir : join_paths(get_option('prefix'), get_option('datadir'), 'applications'),
)
install_subdir('icons/hicolor', install_dir : join_paths(get_option('prefix'), get_option('datadir'), 'icons'))