Description Usage Arguments Details Value Author(s)
Gets the activation root for a GVolume if it is known ahead of
mount time. Returns NULL otherwise. If not NULL and if volume
is mounted, then the result of gMountGetRoot on the
GMount object obtained from gVolumeGetMount will always
either be equal or a prefix of what this function returns. In
other words, in code
1 | gVolumeGetActivationRoot(object)
|
|
a |
1 2 3 4 5 6 7 |
then the expression
1 2 | (g_file_has_prefix (volume_activation_root, mount_root) ||
g_file_equal (volume_activation_root, mount_root))
|
will always be TRUE.
Activation roots are typically used in GVolumeMonitor
implementations to find the underlying mount to shadow, see
gMountIsShadowed for more details.
Since 2.18
[GFile] the activation root of volume or NULL.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.