From bbc508b78ff60390c2a1a610419693956208e2f7 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 20 Oct 2025 16:15:45 +0100 Subject: [PATCH] gnetworkmonitorbase: Add missing notify::connectivity signal The connectivity is directly derived from the `is_available` variable, so if that changes, we need to notify of a change in `connectivity` too. Signed-off-by: Philip Withnall Fixes: #3803 --- gio/gnetworkmonitorbase.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gio/gnetworkmonitorbase.c b/gio/gnetworkmonitorbase.c index 78e263444..3d916a6af 100644 --- a/gio/gnetworkmonitorbase.c +++ b/gio/gnetworkmonitorbase.c @@ -443,6 +443,7 @@ emit_network_changed (gpointer user_data) { monitor->priv->is_available = is_available; g_object_notify (G_OBJECT (monitor), "network-available"); + g_object_notify (G_OBJECT (monitor), "connectivity"); } g_signal_emit (monitor, network_changed_signal, 0, is_available);