Add workaround annotation for udisks_client_get_block_for_dev()
authorMartin Pitt <martinpitt@gnome.org>
Wed, 5 Sep 2012 16:29:21 +0000 (18:29 +0200)
committerMartin Pitt <martinpitt@gnome.org>
Wed, 5 Sep 2012 16:29:21 +0000 (18:29 +0200)
commit3b135a8d49a3b10b6b6ac050cfd457fa027f8b73
treea7b72e561c1ac78c7eec69fff52eea9bf857fd0d
parent1e4879adabc5fd501504038702d17b0a74371c79
Add workaround annotation for udisks_client_get_block_for_dev()

The gobject-introspection parser does not know how to properly handle dev_t
arguments (https://bugzilla.gnome.org/show_bug.cgi?id=584517) and treats them
as gint. But as the native API expects a 64 bit integer, you'll get garbage in
the upper word on 32 bit platforms, which cause
UDisks.Block.get_block_for_dev() to never find a match when using through
introspection.

https://bugs.freedesktop.org/show_bug.cgi?id=54566
udisks/udisksclient.c