Commit b2bf61aa authored by Michael Albinus's avatar Michael Albinus
Browse files

* dbusbind.c (Fdbus_register_signal): When service is not

registered, use nil in Vdbus_registered_objects_table.  (Bug#9581)
parent e2ee6f30
2011-09-25 Michael Albinus <michael.albinus@gmx.de>
* dbusbind.c (Fdbus_register_signal): When service is not
registered, use nil in Vdbus_registered_objects_table. (Bug#9581)
2011-09-25 Glenn Morris <rgm@gnu.org>
* buffer.c (truncate-lines): Doc fix.
......
......@@ -2071,13 +2071,7 @@ usage: (dbus-register-signal BUS SERVICE PATH INTERFACE SIGNAL HANDLER &rest ARG
&& (SBYTES (service) > 0)
&& (strcmp (SSDATA (service), DBUS_SERVICE_DBUS) != 0)
&& (strncmp (SSDATA (service), ":", 1) != 0))
{
uname = call2 (intern ("dbus-get-name-owner"), bus, service);
/* When there is no unique name, we mark it with an empty
string. */
if (NILP (uname))
uname = empty_unibyte_string;
}
uname = call2 (intern ("dbus-get-name-owner"), bus, service);
else
uname = service;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment