changeset 87537:84ece2f8e012

* net/dbus.el (dbus-name-owner-changed-handler): Use dbus-unregister-object instead of dbus-unregister-signal.
author Magnus Henoch <mange@freemail.hu>
date Thu, 03 Jan 2008 16:37:32 +0000
parents 5dfd374d9c21
children 3a92f3042e39
files lisp/net/dbus.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/dbus.el	Thu Jan 03 16:35:44 2008 +0000
+++ b/lisp/net/dbus.el	Thu Jan 03 16:37:32 2008 +0000
@@ -1,7 +1,7 @@
 ;;; -*- 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 @@
 		  ;; 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