Commit 7d1112ae authored by Magnus Henoch's avatar Magnus Henoch
Browse files

* net/dbus.el (dbus-name-owner-changed-handler): Use

	dbus-unregister-object instead of dbus-unregister-signal.
parent 2c3a8b27
2008-01-03 Magnus Henoch <magnus@zemdatav>
* net/dbus.el (dbus-name-owner-changed-handler): Use
dbus-unregister-object instead of dbus-unregister-signal.
2008-01-03 Drew Adams <drew.adams@oracle.com>
* frame.el (frame-geom-value-cons, frame-geom-spec-cons): New fns.
......
;;; -*- no-byte-compile: t; -*-
;;; dbus.el --- Elisp bindings for D-Bus.
;; Copyright (C) 2007 Free Software Foundation, Inc.
;; Copyright (C) 2007, 2008 Free Software Foundation, Inc.
;; Author: Michael Albinus <michael.albinus@gmx.de>
;; Keywords: comm, hardware
......@@ -92,7 +92,7 @@ usage: (dbus-name-owner-changed-handler service old-owner new-owner)"
;; elt has the structure (UNAME SERVICE PATH HANDLER).
(when (string-equal old-owner (car elt))
;; Remove old key, and add new entry with changed name.
(dbus-unregister-signal (list key (cdr elt)))
(dbus-unregister-object (list key (cdr elt)))
;; Maybe we could arrange the lists a little bit better
;; that we don't need to extract every single element?
(dbus-register-signal
......
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