summaryrefslogtreecommitdiff
path: root/gio/gunionvolumemonitor.c
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2008-10-12 17:05:17 +0000
committerDavid Zeuthen <davidz@src.gnome.org>2008-10-12 17:05:17 +0000
commit5a10b403c7f7443430eb8cb216f06809cfbe4e53 (patch)
treef61fe5b52209d84cbe5015fef2cb6028a8536fc4 /gio/gunionvolumemonitor.c
parentbc038261d9a27b0a4932f9313024129295b548ec (diff)
downloadglib-5a10b403c7f7443430eb8cb216f06809cfbe4e53.tar.gz
glib-5a10b403c7f7443430eb8cb216f06809cfbe4e53.tar.bz2
glib-5a10b403c7f7443430eb8cb216f06809cfbe4e53.zip
Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
2008-10-12 David Zeuthen <davidz@redhat.com> * gio.symbols: * gunionvolumemonitor.c: * gvolumemonitor.h: Deprecate g_volume_monitor_adopt_orphan_mount() (#555331). svn path=/trunk/; revision=7594
Diffstat (limited to 'gio/gunionvolumemonitor.c')
-rw-r--r--gio/gunionvolumemonitor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gunionvolumemonitor.c b/gio/gunionvolumemonitor.c
index 8009262a5..f12ecd905 100644
--- a/gio/gunionvolumemonitor.c
+++ b/gio/gunionvolumemonitor.c
@@ -634,6 +634,11 @@ _g_mount_get_for_mount_path (const char *mount_path,
*
* Returns: the #GVolume object that is the parent for @mount or %NULL
* if no wants to adopt the #GMount.
+ *
+ * Deprecated: 2.20: Instead of using this function, #GVolumeMonitor
+ * implementations should instead create shadow mounts with the URI of
+ * the mount they intend to adopt. See the proxy volume monitor in
+ * gvfs for an example of this.
*/
GVolume *
g_volume_monitor_adopt_orphan_mount (GMount *mount)