mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gio: fix the Since/AVAILABLE version on network connectivity stuff
This commit is contained in:
@@ -1834,7 +1834,7 @@ typedef enum {
|
||||
*
|
||||
* The host's network connectivity state, as reported by #GNetworkMonitor.
|
||||
*
|
||||
* Since: 2.42
|
||||
* Since: 2.44
|
||||
*/
|
||||
typedef enum {
|
||||
G_NETWORK_CONNECTIVITY_LOCAL = 1,
|
||||
|
@@ -124,7 +124,7 @@ g_network_monitor_get_network_available (GNetworkMonitor *monitor)
|
||||
*
|
||||
* Return value: the network connectivity state
|
||||
*
|
||||
* Since: 2.42
|
||||
* Since: 2.44
|
||||
*/
|
||||
GNetworkConnectivity
|
||||
g_network_monitor_get_connectivity (GNetworkMonitor *monitor)
|
||||
@@ -326,7 +326,7 @@ g_network_monitor_default_init (GNetworkMonitorInterface *iface)
|
||||
* See g_network_monitor_get_connectivity() and
|
||||
* #GNetworkConnectivity for more details.
|
||||
*
|
||||
* Since: 2.42
|
||||
* Since: 2.44
|
||||
*/
|
||||
g_object_interface_install_property (iface,
|
||||
g_param_spec_enum ("connectivity",
|
||||
|
@@ -72,7 +72,7 @@ GNetworkMonitor *g_network_monitor_get_default (void);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
gboolean g_network_monitor_get_network_available (GNetworkMonitor *monitor);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_42
|
||||
GLIB_AVAILABLE_IN_2_44
|
||||
GNetworkConnectivity g_network_monitor_get_connectivity (GNetworkMonitor *monitor);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
|
Reference in New Issue
Block a user