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:
330cdfb
)
Accept no-reply errors
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 12 Jun 2010 05:55:25 +0000
(
01:55
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 12 Jun 2010 05:55:25 +0000
(
01:55
-0400)
This can happen if the app quits before the dbus reply can be
sent out.
gio/tests/testapps.c
patch
|
blob
|
history
diff --git
a/gio/tests/testapps.c
b/gio/tests/testapps.c
index
ed34a47
..
e48a869
100644
(file)
--- a/
gio/tests/testapps.c
+++ b/
gio/tests/testapps.c
@@
-309,8
+309,11
@@
call_quit (gpointer data)
-1,
NULL,
&error);
-
- g_assert_no_error (error);
+ if (error)
+ {
+ g_assert_error (error, G_DBUS_ERROR, G_DBUS_ERROR_NO_REPLY);
+ g_error_free (error);
+ }
if (res)
g_variant_unref (res);