GNetworkMonitor: Rename "network-changed" signal argument

Because the argument being called "available" and the property being
called "network-available" is confusing.

Also remove the details of what that value means, as it's already
described in the property, and duplicating the explanation makes it look
like it might have a different meaning.

https://bugzilla.gnome.org/show_bug.cgi?id=792370
This commit is contained in:
Bastien Nocera
2017-12-14 23:17:37 +01:00
committed by Philip Withnall
parent c4ad10fede
commit 181d1c3052
2 changed files with 3 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ struct _GNetworkMonitorInterface {
GTypeInterface g_iface;
void (*network_changed) (GNetworkMonitor *monitor,
gboolean available);
gboolean network_available);
gboolean (*can_reach) (GNetworkMonitor *monitor,
GSocketConnectable *connectable,