summaryrefslogtreecommitdiff
path: root/extras/gudev/gudevdevice.c
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2010-12-14 12:50:04 -0500
committerDavid Zeuthen <davidz@redhat.com>2010-12-14 12:50:04 -0500
commitab17a7ef55b2c3278839302cf3ba5d214d2b2b7d (patch)
tree239ca29e13a903b6390a78516e8f74cb6229b7f7 /extras/gudev/gudevdevice.c
parent0976fd063e1e488e388ec922fcd4dbed5b8da938 (diff)
Add g_udev_device_get_is_initialized() method
Also nuke the "Index of deprecated symbols" since we have no deprecated symbols just yet. Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'extras/gudev/gudevdevice.c')
-rw-r--r--extras/gudev/gudevdevice.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/extras/gudev/gudevdevice.c b/extras/gudev/gudevdevice.c
index 4c41849bb1..8909178e4b 100644
--- a/extras/gudev/gudevdevice.c
+++ b/extras/gudev/gudevdevice.c
@@ -925,3 +925,19 @@ g_udev_device_get_tags (GUdevDevice *device)
return (const gchar * const *) device->priv->tags;
}
+/**
+ * g_udev_device_get_is_initialized:
+ * @device: A #GUdevDevice.
+ *
+ * Gets whether @device has been initalized.
+ *
+ * Returns: Whether @device has been initialized.
+ *
+ * Since: 165
+ */
+gboolean
+g_udev_device_get_is_initialized (GUdevDevice *device)
+{
+ g_return_val_if_fail (G_UDEV_IS_DEVICE (device), FALSE);
+ return udev_device_get_is_initialized (device->priv->udevice);
+}