~ubuntu-branches/ubuntu/lucid/hal/lucid-proposed

« back to all changes in this revision

Viewing changes to libhal/libhal.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-12-03 01:21:24 UTC
  • mto: (1.1.18 squeeze)
  • mto: This revision was merged to the branch mainline in revision 165.
  • Revision ID: james.westby@ubuntu.com-20091203012124-3573qknop973uvc2
Tags: upstream-0.5.14
ImportĀ upstreamĀ versionĀ 0.5.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
3196
3196
}
3197
3197
 
3198
3198
 
 
3199
dbus_bool_t
 
3200
libhal_device_property_remove_watch_all (LibHalContext *ctx, DBusError *error)
 
3201
{
 
3202
        LIBHAL_CHECK_LIBHALCONTEXT(ctx, FALSE);
 
3203
 
 
3204
        dbus_bus_remove_match (ctx->connection,
 
3205
                            "type='signal',"
 
3206
                            "interface='org.freedesktop.Hal.Device',"
 
3207
                            "sender='org.freedesktop.Hal'", error);
 
3208
        if (error != NULL && dbus_error_is_set (error)) {
 
3209
                return FALSE;
 
3210
        }
 
3211
        return TRUE;
 
3212
}
 
3213
 
 
3214
 
3199
3215
/**
3200
3216
 * libhal_device_add_property_watch:
3201
3217
 * @ctx: the context for the connection to hald