diff options
| author | Magnus Henoch | 2008-01-03 16:38:47 +0000 |
|---|---|---|
| committer | Magnus Henoch | 2008-01-03 16:38:47 +0000 |
| commit | 7d1112ae98dc7d8eb1664b6867fe9c980f6fe896 (patch) | |
| tree | 54c27a1bbcadeac9c3b0340f04e9e71fa1c5378d | |
| parent | 2c3a8b2787630e00001176629c7938377060ea76 (diff) | |
| download | emacs-7d1112ae98dc7d8eb1664b6867fe9c980f6fe896.tar.gz emacs-7d1112ae98dc7d8eb1664b6867fe9c980f6fe896.zip | |
* net/dbus.el (dbus-name-owner-changed-handler): Use
dbus-unregister-object instead of dbus-unregister-signal.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/dbus.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9228f8e93c6..cf8750ab348 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-01-03 Magnus Henoch <magnus@zemdatav> | ||
| 2 | |||
| 3 | * net/dbus.el (dbus-name-owner-changed-handler): Use | ||
| 4 | dbus-unregister-object instead of dbus-unregister-signal. | ||
| 5 | |||
| 1 | 2008-01-03 Drew Adams <drew.adams@oracle.com> | 6 | 2008-01-03 Drew Adams <drew.adams@oracle.com> |
| 2 | 7 | ||
| 3 | * frame.el (frame-geom-value-cons, frame-geom-spec-cons): New fns. | 8 | * frame.el (frame-geom-value-cons, frame-geom-spec-cons): New fns. |
diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el index 1c1016aed97..f8f422c5c1f 100644 --- a/lisp/net/dbus.el +++ b/lisp/net/dbus.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; -*- no-byte-compile: t; -*- | 1 | ;;; -*- no-byte-compile: t; -*- |
| 2 | ;;; dbus.el --- Elisp bindings for D-Bus. | 2 | ;;; dbus.el --- Elisp bindings for D-Bus. |
| 3 | 3 | ||
| 4 | ;; Copyright (C) 2007 Free Software Foundation, Inc. | 4 | ;; Copyright (C) 2007, 2008 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Michael Albinus <michael.albinus@gmx.de> | 6 | ;; Author: Michael Albinus <michael.albinus@gmx.de> |
| 7 | ;; Keywords: comm, hardware | 7 | ;; Keywords: comm, hardware |
| @@ -92,7 +92,7 @@ usage: (dbus-name-owner-changed-handler service old-owner new-owner)" | |||
| 92 | ;; elt has the structure (UNAME SERVICE PATH HANDLER). | 92 | ;; elt has the structure (UNAME SERVICE PATH HANDLER). |
| 93 | (when (string-equal old-owner (car elt)) | 93 | (when (string-equal old-owner (car elt)) |
| 94 | ;; Remove old key, and add new entry with changed name. | 94 | ;; Remove old key, and add new entry with changed name. |
| 95 | (dbus-unregister-signal (list key (cdr elt))) | 95 | (dbus-unregister-object (list key (cdr elt))) |
| 96 | ;; Maybe we could arrange the lists a little bit better | 96 | ;; Maybe we could arrange the lists a little bit better |
| 97 | ;; that we don't need to extract every single element? | 97 | ;; that we don't need to extract every single element? |
| 98 | (dbus-register-signal | 98 | (dbus-register-signal |