diff options
Diffstat (limited to 'src/dbusbind.c')
| -rw-r--r-- | src/dbusbind.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c index f3a573d3bce..460cf52364e 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -854,6 +854,9 @@ This is an internal function, it shall not be used outside dbus.el. */) | |||
| 854 | NULL, (void*) XHASH (bus), NULL)) | 854 | NULL, (void*) XHASH (bus), NULL)) |
| 855 | XD_SIGNAL1 (build_string ("Cannot add watch functions")); | 855 | XD_SIGNAL1 (build_string ("Cannot add watch functions")); |
| 856 | 856 | ||
| 857 | /* We do not want to abort. */ | ||
| 858 | putenv ("DBUS_FATAL_WARNINGS=0"); | ||
| 859 | |||
| 857 | /* Return. */ | 860 | /* Return. */ |
| 858 | return Qnil; | 861 | return Qnil; |
| 859 | } | 862 | } |
| @@ -2130,12 +2133,11 @@ message arrives. */); | |||
| 2130 | doc: /* If non-nil, debug messages of D-Bus bindings are raised. */); | 2133 | doc: /* If non-nil, debug messages of D-Bus bindings are raised. */); |
| 2131 | #ifdef DBUS_DEBUG | 2134 | #ifdef DBUS_DEBUG |
| 2132 | Vdbus_debug = Qt; | 2135 | Vdbus_debug = Qt; |
| 2133 | /* We can also set environment DBUS_VERBOSE=1 in order to see more | 2136 | /* We can also set environment variable DBUS_VERBOSE=1 in order to |
| 2134 | traces. */ | 2137 | see more traces. This requires libdbus-1 to be configured with |
| 2138 | --enable-verbose-mode. */ | ||
| 2135 | #else | 2139 | #else |
| 2136 | Vdbus_debug = Qnil; | 2140 | Vdbus_debug = Qnil; |
| 2137 | /* We do not want to abort. */ | ||
| 2138 | putenv ("DBUS_FATAL_WARNINGS=0"); | ||
| 2139 | #endif | 2141 | #endif |
| 2140 | 2142 | ||
| 2141 | Fprovide (intern_c_string ("dbusbind"), Qnil); | 2143 | Fprovide (intern_c_string ("dbusbind"), Qnil); |