mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
various: add GLIB_AVAILABLE_IN_ALL everywhere else
Add the GLIB_AVAILABLE_IN_ALL annotation to all old functions (that haven't already been annotated with the GLIB_AVAILABLE_IN_* macros or a deprecation macro). If we discover in the future that we cannot use only one macro on Windows, it will be an easy sed patch to fix that. https://bugzilla.gnome.org/show_bug.cgi?id=688681
This commit is contained in:
@@ -130,14 +130,21 @@ struct _GVolumeMonitorClass
|
||||
void (*_g_reserved6) (void);
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_volume_monitor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GVolumeMonitor *g_volume_monitor_get (void);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GList * g_volume_monitor_get_connected_drives (GVolumeMonitor *volume_monitor);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GList * g_volume_monitor_get_volumes (GVolumeMonitor *volume_monitor);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GList * g_volume_monitor_get_mounts (GVolumeMonitor *volume_monitor);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GVolume * g_volume_monitor_get_volume_for_uuid (GVolumeMonitor *volume_monitor,
|
||||
const char *uuid);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMount * g_volume_monitor_get_mount_for_uuid (GVolumeMonitor *volume_monitor,
|
||||
const char *uuid);
|
||||
|
||||
|
Reference in New Issue
Block a user