mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-10 12:55:48 +01:00
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
This commit is contained in:
parent
bc038261d9
commit
5a10b403c7
@ -1,3 +1,10 @@
|
|||||||
|
2008-10-12 David Zeuthen <davidz@redhat.com>
|
||||||
|
|
||||||
|
* gio.symbols:
|
||||||
|
* gunionvolumemonitor.c:
|
||||||
|
* gvolumemonitor.h:
|
||||||
|
Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
|
||||||
|
|
||||||
2008-10-10 Alexander Larsson <alexl@redhat.com>
|
2008-10-10 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gfileattribute.c (escape_byte_string):
|
* gfileattribute.c (escape_byte_string):
|
||||||
|
@ -758,9 +758,11 @@ g_volume_monitor_get_mount_for_uuid
|
|||||||
#endif
|
#endif
|
||||||
#if IN_FILE(__G_UNION_VOLUME_MONITOR_C__)
|
#if IN_FILE(__G_UNION_VOLUME_MONITOR_C__)
|
||||||
g_volume_monitor_get
|
g_volume_monitor_get
|
||||||
|
#ifndef G_DISABLE_DEPRECATED
|
||||||
g_volume_monitor_adopt_orphan_mount
|
g_volume_monitor_adopt_orphan_mount
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if IN_HEADER(__G_NATIVE_VOLUME_MONITOR_H__)
|
#if IN_HEADER(__G_NATIVE_VOLUME_MONITOR_H__)
|
||||||
#if IN_FILE(__G_NATIVE_VOLUME_MONITOR_C__)
|
#if IN_FILE(__G_NATIVE_VOLUME_MONITOR_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
|
* Returns: the #GVolume object that is the parent for @mount or %NULL
|
||||||
* if no wants to adopt the #GMount.
|
* 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 *
|
GVolume *
|
||||||
g_volume_monitor_adopt_orphan_mount (GMount *mount)
|
g_volume_monitor_adopt_orphan_mount (GMount *mount)
|
||||||
|
@ -109,7 +109,7 @@ struct _GVolumeMonitorClass
|
|||||||
const char *uuid);
|
const char *uuid);
|
||||||
|
|
||||||
|
|
||||||
/* These arguments are unfortunately backwards by mistake (bug #520169) */
|
/* These arguments are unfortunately backwards by mistake (bug #520169). Deprecated in 2.20. */
|
||||||
GVolume * (* adopt_orphan_mount) (GMount *mount,
|
GVolume * (* adopt_orphan_mount) (GMount *mount,
|
||||||
GVolumeMonitor *volume_monitor);
|
GVolumeMonitor *volume_monitor);
|
||||||
|
|
||||||
@ -139,7 +139,9 @@ GVolume * g_volume_monitor_get_volume_for_uuid (GVolumeMonitor *volume_mo
|
|||||||
GMount * g_volume_monitor_get_mount_for_uuid (GVolumeMonitor *volume_monitor,
|
GMount * g_volume_monitor_get_mount_for_uuid (GVolumeMonitor *volume_monitor,
|
||||||
const char *uuid);
|
const char *uuid);
|
||||||
|
|
||||||
|
#ifndef G_DISABLE_DEPRECATED
|
||||||
GVolume * g_volume_monitor_adopt_orphan_mount (GMount *mount);
|
GVolume * g_volume_monitor_adopt_orphan_mount (GMount *mount);
|
||||||
|
#endif
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user