projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve GApplication test coverage
[platform/upstream/glib.git]
/
gio
/
tests
/
appinfo.c
diff --git
a/gio/tests/appinfo.c
b/gio/tests/appinfo.c
index
5f84cbd
..
e04071a
100644
(file)
--- a/
gio/tests/appinfo.c
+++ b/
gio/tests/appinfo.c
@@
-15,7
+15,7
@@
test_launch (void)
const gchar *path;
gchar *uri;
- if (
!g_getenv ("DISPLAY")
)
+ if (
g_getenv ("DISPLAY") == NULL || g_getenv ("DISPLAY")[0] == '\0'
)
{
g_printerr ("No DISPLAY. Skipping test. ");
return;