hal: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Thu Dec 6 01:30:38 PST 2007
libhal/libhal.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
New commits:
commit 8805336720bff9d710b0d4b5ff5320d52351d616
Author: Danny Kukawka <danny.kukawka at web.de>
Date: Thu Dec 6 10:29:15 2007 +0100
fix some whitespaces
Fixed some whitespaces in libhal.c
diff --git a/libhal/libhal.c b/libhal/libhal.c
index 3f6a9a0..8ad8d49 100644
--- a/libhal/libhal.c
+++ b/libhal/libhal.c
@@ -3917,14 +3917,14 @@ addon_is_ready(LibHalContext *ctx, const char *identifier,
if (singleton) {
message = dbus_message_new_method_call ("org.freedesktop.Hal",
- "/org/freedesktop/Hal/Manager",
- "org.freedesktop.Hal.Manager",
- "SingletonAddonIsReady");
+ "/org/freedesktop/Hal/Manager",
+ "org.freedesktop.Hal.Manager",
+ "SingletonAddonIsReady");
} else {
message = dbus_message_new_method_call ("org.freedesktop.Hal",
- identifier,
- "org.freedesktop.Hal.Device",
- "AddonIsReady");
+ identifier,
+ "org.freedesktop.Hal.Device",
+ "AddonIsReady");
}
if (message == NULL) {
@@ -4902,6 +4902,7 @@ dbus_bool_t
libhal_ctx_set_global_interface_lock_acquired (LibHalContext *ctx, LibHalGlobalInterfaceLockAcquired callback)
{
LIBHAL_CHECK_LIBHALCONTEXT (ctx, FALSE);
+
ctx->global_interface_lock_acquired = callback;
return TRUE;
}
@@ -4919,6 +4920,7 @@ dbus_bool_t
libhal_ctx_set_global_interface_lock_released (LibHalContext *ctx, LibHalGlobalInterfaceLockReleased callback)
{
LIBHAL_CHECK_LIBHALCONTEXT (ctx, FALSE);
+
ctx->global_interface_lock_released = callback;
return TRUE;
}
@@ -4937,6 +4939,7 @@ dbus_bool_t
libhal_ctx_set_interface_lock_acquired (LibHalContext *ctx, LibHalInterfaceLockAcquired callback)
{
LIBHAL_CHECK_LIBHALCONTEXT (ctx, FALSE);
+
ctx->interface_lock_acquired = callback;
return TRUE;
}
@@ -4954,6 +4957,7 @@ dbus_bool_t
libhal_ctx_set_interface_lock_released (LibHalContext *ctx, LibHalInterfaceLockReleased callback)
{
LIBHAL_CHECK_LIBHALCONTEXT (ctx, FALSE);
+
ctx->interface_lock_released = callback;
return TRUE;
}
More information about the hal-commit
mailing list