mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
g_get_user_data_dir(): Don't warn if XDG_RUNTIME_DIR isn't set
We have a meaningful fallback, and warning causes the tests to break.
This commit is contained in:
parent
5f35cb9db4
commit
de57755dbc
@ -2324,10 +2324,6 @@ g_get_user_runtime_dir (void)
|
||||
{
|
||||
runtime_dir = g_strdup (getenv ("XDG_RUNTIME_DIR"));
|
||||
|
||||
if (runtime_dir == NULL)
|
||||
g_warning ("XDG_RUNTIME_DIR variable not set. "
|
||||
"Falling back to XDG cache dir.");
|
||||
|
||||
g_once_init_leave (&initialised, 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user