Skip to content
Snippets Groups Projects
Commit 1224e117 authored by Simon McVittie's avatar Simon McVittie
Browse files

adverb: Avoid deprecated g_dirname()


This breaks the build with -Werror on Debian testing/unstable.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 706cbc26
Branches
Tags
No related merge requests found
...@@ -155,7 +155,7 @@ generate_locales (gchar **locpath_out, ...@@ -155,7 +155,7 @@ generate_locales (gchar **locpath_out,
} }
this_path = g_file_read_link ("/proc/self/exe", NULL); this_path = g_file_read_link ("/proc/self/exe", NULL);
this_dir = g_dirname (this_path); this_dir = g_path_get_dirname (this_path);
pvlg = g_build_filename (this_dir, "pressure-vessel-locale-gen", NULL); pvlg = g_build_filename (this_dir, "pressure-vessel-locale-gen", NULL);
const char *locale_gen_argv[] = const char *locale_gen_argv[] =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment