summaryrefslogtreecommitdiff
path: root/gio/gnetworkmonitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gnetworkmonitor.c')
-rw-r--r--gio/gnetworkmonitor.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gio/gnetworkmonitor.c b/gio/gnetworkmonitor.c
index bae60d5f8..5032fbb88 100644
--- a/gio/gnetworkmonitor.c
+++ b/gio/gnetworkmonitor.c
@@ -362,9 +362,7 @@ g_network_monitor_default_init (GNetworkMonitorInterface *iface)
* Since: 2.32
*/
g_object_interface_install_property (iface,
- g_param_spec_boolean ("network-available",
- P_("Network available"),
- P_("Whether the network is available"),
+ g_param_spec_boolean ("network-available", NULL, NULL,
FALSE,
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS));
@@ -393,9 +391,7 @@ g_network_monitor_default_init (GNetworkMonitorInterface *iface)
* Since: 2.46
*/
g_object_interface_install_property (iface,
- g_param_spec_boolean ("network-metered",
- P_("Network metered"),
- P_("Whether the network is metered"),
+ g_param_spec_boolean ("network-metered", NULL, NULL,
FALSE,
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS));
@@ -410,9 +406,7 @@ g_network_monitor_default_init (GNetworkMonitorInterface *iface)
* Since: 2.44
*/
g_object_interface_install_property (iface,
- g_param_spec_enum ("connectivity",
- P_("Network connectivity"),
- P_("Level of network connectivity"),
+ g_param_spec_enum ("connectivity", NULL, NULL,
G_TYPE_NETWORK_CONNECTIVITY,
G_NETWORK_CONNECTIVITY_FULL,
G_PARAM_READABLE |