hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Wed Jan 30 08:02:17 PST 2008


 hald/hald_dbus.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b58a51864729764555ecb2a420ba6ceb2bf79bab
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Wed Jan 30 17:01:47 2008 +0100

    ignore NameAcquired signal on org.freedesktop.DBus
    
    Since HAL does not handle the NameAcquired signal and ConsoleKit
    neither, we can ignore the signal and don't need to forward it.

diff --git a/hald/hald_dbus.c b/hald/hald_dbus.c
index 558ae9e..77214dc 100644
--- a/hald/hald_dbus.c
+++ b/hald/hald_dbus.c
@@ -5079,6 +5079,9 @@ hald_dbus_filter_function (DBusConnection * connection,
 
 		g_timeout_add (3000, reinit_dbus, NULL);
 
+	} else if (dbus_message_is_signal (message, DBUS_INTERFACE_DBUS, "NameAcquired")){
+		/* we don't need to do anything atm with this signal ... */
+		return DBUS_HANDLER_RESULT_HANDLED; 
 	} else if (dbus_message_is_signal (message,
 					   DBUS_INTERFACE_DBUS,
 					   "NameOwnerChanged")) {


More information about the hal-commit mailing list