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:
562a834
)
tests: unbreak desktop-app-info test for jhbuild
author
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 28 Dec 2010 11:17:10 +0000
(12:17 +0100)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 28 Dec 2010 11:18:51 +0000
(12:18 +0100)
If we have a jhbuilt version of gedit installed, this will fail, as it
will succeed in deleting its desktop file.
gio/tests/desktop-app-info.c
patch
|
blob
|
history
diff --git
a/gio/tests/desktop-app-info.c
b/gio/tests/desktop-app-info.c
index
b9ae777
..
6c6e313
100644
(file)
--- a/
gio/tests/desktop-app-info.c
+++ b/
gio/tests/desktop-app-info.c
@@
-82,7
+82,7
@@
test_delete (void)
if (g_file_test ("/usr/share/applications/gedit.desktop", G_FILE_TEST_EXISTS))
{
- info = (GAppInfo*)g_desktop_app_info_new
("
gedit.desktop");
+ info = (GAppInfo*)g_desktop_app_info_new
_from_filename ("/usr/share/applications/
gedit.desktop");
g_assert (info);
res = g_app_info_can_delete (info);