projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f35cb9
)
g_get_user_data_dir(): Don't warn if XDG_RUNTIME_DIR isn't set
author
Colin Walters
<walters@verbum.org>
Tue, 7 Jun 2011 17:02:41 +0000
(13:02 -0400)
committer
Colin Walters
<walters@verbum.org>
Tue, 7 Jun 2011 17:02:41 +0000
(13:02 -0400)
We have a meaningful fallback, and warning causes the tests to break.
glib/gutils.c
patch
|
blob
|
history
diff --git
a/glib/gutils.c
b/glib/gutils.c
index
11eb314
..
5a0a5e8
100644
(file)
--- a/
glib/gutils.c
+++ b/
glib/gutils.c
@@
-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);
}