mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-01 10:01:03 -04:00
Fix pulseaudio socket detection
This commit is contained in:
1 parent
0420b396fc
commit
671a4e35cf
1 file changed
+1
-1
@@ -234,7 +234,7 @@ xdg_app_builtin_run (int argc, char **argv, GCancellable *cancellable, GError **
|
||||
|
||||
if (g_key_file_get_boolean (metakey, "Environment", "pulseaudio", NULL))
|
||||
{
|
||||
pulseaudio_socket = g_build_filename (g_get_user_data_dir(), "pulse/native", NULL);
|
||||
pulseaudio_socket = g_build_filename (g_get_user_runtime_dir (), "pulse/native", NULL);
|
||||
if (g_file_test (pulseaudio_socket, G_FILE_TEST_EXISTS))
|
||||
{
|
||||
g_ptr_array_add (argv_array, "-p");
|
||||
|
||||
Reference in new issue
Block a user