Function
GioNetworkMonitorget_default
since: 2.32
Declaration [src]
GNetworkMonitor*
g_network_monitor_get_default (
void
)
Description [src]
Gets the default GNetworkMonitor for the system.
Some implementations complete their initialization asynchronously:
properties such as GNetworkMonitor:network-available may start at their
default values and update shortly afterwards, with notify emissions, once
the state is resolved from the thread-default main context of this first call.
Available since: 2.32
Return value
Type: GNetworkMonitor
A GNetworkMonitor, which will be
a dummy object if no network monitor is available.
| The data is owned by the called function. |