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:
ba4fe09
)
gkdbus: make error messages more consistent with libdbus
00/132200/3
author
Adrian Szyndela
<adrian.s@samsung.com>
Thu, 1 Jun 2017 11:08:22 +0000
(13:08 +0200)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Fri, 2 Jun 2017 06:37:03 +0000
(06:37 +0000)
Change-Id: I5b21152f84ccc43ae8d72fe83e9e6d32aba58002
gio/gkdbus.c
patch
|
blob
|
history
diff --git
a/gio/gkdbus.c
b/gio/gkdbus.c
index
6c9c051
..
26cd959
100755
(executable)
--- a/
gio/gkdbus.c
+++ b/
gio/gkdbus.c
@@
-3549,6
+3549,11
@@
_g_kdbus_send (GKDBusWorker *worker,
g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_LIMITS_EXCEEDED,
"The size of the message is excessive, %s", info);
}
+ else if (errno == EMLINK)
+ {
+ g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_LIMITS_EXCEEDED,
+ "The maximum number of pending replies per connection has been reached, %s", info);
+ }
else if (errno == ECANCELED)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_CANCELLED,