diff options
author | David Zeuthen <zeuthen@gmail.com> | 2012-10-03 10:12:14 -0400 |
---|---|---|
committer | David Zeuthen <zeuthen@gmail.com> | 2012-10-03 10:12:14 -0400 |
commit | 2174256413b05e1f423c046c596ef981b52e7d82 (patch) | |
tree | ca658d827f8a861c3862212f5ec0314ec2ba253d /src/udisksbasejob.c | |
parent | fd9277e38cd59bcfdc9b064b257e77a69f86511f (diff) | |
parent | 56b03b867e21610edcd4a9335e46f6897e1ccb3f (diff) | |
download | udisks-2174256413b05e1f423c046c596ef981b52e7d82.tar.gz |
Merge branch 'master' into wip/mdraidwip/mdraid
Diffstat (limited to 'src/udisksbasejob.c')
-rw-r--r-- | src/udisksbasejob.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/udisksbasejob.c b/src/udisksbasejob.c index 1144d2d..9a21c57 100644 --- a/src/udisksbasejob.c +++ b/src/udisksbasejob.c @@ -442,6 +442,14 @@ job_iface_init (UDisksJobIface *iface) /* ---------------------------------------------------------------------------------------------------- */ +/** + * udisks_base_job_get_auto_estimate: + * @job: A #UDisksBaseJob. + * + * Gets whether auto-estimation is being used. + * + * Returns: %TRUE if auto-estimation is being used, %FALSE otherwise. + */ gboolean udisks_base_job_get_auto_estimate (UDisksBaseJob *job) { @@ -505,7 +513,13 @@ on_notify_progress (GObject *object, ; } - +/** + * udisks_base_job_set_auto_estimate: + * @job: A #UDisksBaseJob. + * @value: %TRUE if auto-estimation is to be use, %FALSE otherwise. + * + * Sets whether auto-estimation is being used. + */ void udisks_base_job_set_auto_estimate (UDisksBaseJob *job, gboolean value) |