comparison src/dbusbind.c @ 110623:1f02266d75ef

* dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0". (Bug#7113)
author Michael Albinus <michael.albinus@gmx.de>
date Mon, 27 Sep 2010 14:44:26 +0200
parents a14b02ae1413
children cf68fbaebcfe
comparison
equal deleted inserted replaced
110622:a14b02ae1413 110623:1f02266d75ef
2128 2128
2129 DEFVAR_LISP ("dbus-debug", &Vdbus_debug, 2129 DEFVAR_LISP ("dbus-debug", &Vdbus_debug,
2130 doc: /* If non-nil, debug messages of D-Bus bindings are raised. */); 2130 doc: /* If non-nil, debug messages of D-Bus bindings are raised. */);
2131 #ifdef DBUS_DEBUG 2131 #ifdef DBUS_DEBUG
2132 Vdbus_debug = Qt; 2132 Vdbus_debug = Qt;
2133 /* We can also set environment DBUS_VERBOSE=1 in order to see more
2134 traces. */
2133 #else 2135 #else
2134 Vdbus_debug = Qnil; 2136 Vdbus_debug = Qnil;
2135 /* We do not want to abort. */ 2137 /* We do not want to abort. */
2136 unsetenv ("DBUS_FATAL_WARNINGS"); 2138 setenv ("DBUS_FATAL_WARNINGS", 0, 1);
2137 #endif 2139 #endif
2138 2140
2139 Fprovide (intern_c_string ("dbusbind"), Qnil); 2141 Fprovide (intern_c_string ("dbusbind"), Qnil);
2140 2142
2141 } 2143 }