[gnome-disk-utility] remove gdu_device_is_busy() since device-is-busy was removed from the daemon



commit f8d5ee54b0d26ff34f31dbd420188d6eb922d129
Author: David Zeuthen <davidz redhat com>
Date:   Thu Apr 2 15:17:45 2009 -0400

    remove gdu_device_is_busy() since device-is-busy was removed from the daemon
---
 src/gdu/gdu-device.c |    9 ---------
 src/gdu/gdu-device.h |    1 -
 2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/gdu/gdu-device.c b/src/gdu/gdu-device.c
index f49a91e..b5debf4 100644
--- a/src/gdu/gdu-device.c
+++ b/src/gdu/gdu-device.c
@@ -66,7 +66,6 @@ typedef struct
         gboolean device_is_luks;
         gboolean device_is_luks_cleartext;
         gboolean device_is_mounted;
-        gboolean device_is_busy;
         gboolean device_is_linux_md_component;
         gboolean device_is_linux_md;
         char   **device_mount_paths;
@@ -223,8 +222,6 @@ collect_props (const char *key, const GValue *value, DeviceProperties *props)
                 props->device_is_linux_md = g_value_get_boolean (value);
         else if (strcmp (key, "device-is-mounted") == 0)
                 props->device_is_mounted = g_value_get_boolean (value);
-        else if (strcmp (key, "device-is-busy") == 0)
-                props->device_is_busy = g_value_get_boolean (value);
         else if (strcmp (key, "device-mount-paths") == 0)
                 props->device_mount_paths = g_strdupv (g_value_get_boxed (value));
         else if (strcmp (key, "device-mounted-by-uid") == 0)
@@ -867,12 +864,6 @@ gdu_device_is_mounted (GduDevice *device)
         return device->priv->props->device_is_mounted;
 }
 
-gboolean
-gdu_device_is_busy (GduDevice *device)
-{
-        return device->priv->props->device_is_busy;
-}
-
 /* keep this around for a while to avoid breaking ABI */
 const char *
 gdu_device_get_mount_path (GduDevice *device)
diff --git a/src/gdu/gdu-device.h b/src/gdu/gdu-device.h
index 0cc9f54..14a55bb 100644
--- a/src/gdu/gdu-device.h
+++ b/src/gdu/gdu-device.h
@@ -88,7 +88,6 @@ gboolean gdu_device_is_luks_cleartext (GduDevice *device);
 gboolean gdu_device_is_linux_md_component (GduDevice *device);
 gboolean gdu_device_is_linux_md (GduDevice *device);
 gboolean gdu_device_is_mounted (GduDevice *device);
-gboolean gdu_device_is_busy (GduDevice *device);
 const char *gdu_device_get_mount_path (GduDevice *device);
 char **gdu_device_get_mount_paths (GduDevice *device);
 uid_t gdu_device_get_mounted_by_uid (GduDevice *device);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]