summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <wjt@endlessos.org>2023-04-25 11:24:39 +0100
committerWill Thompson <wjt@endlessos.org>2023-04-25 11:24:39 +0100
commitdabd4471689467e973f666a5f80791f72c92c205 (patch)
treec1a445426b0d8de0a1d729e2f088a80e824d5485
parent2ef7bdf1ccdcc376d82607062fe92db51b565ab6 (diff)
parent3a65f3ff265163a13d9d7512d31bdb3c925d721f (diff)
downloadgnome-initial-setup-dabd4471689467e973f666a5f80791f72c92c205.tar.gz
Merge commit '3a65f3f' into gnome-44
This is the first commit from https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/204. Regarding the other three: * dd19c04b: No pressing code-cleanup reason to have this on the stable branch * 1ad293f8: Behaviour change; I don't think this will have any practical effect but it still doesn't seem appropriate to ship on the stable branch * f4aa883b: String change
-rw-r--r--gnome-initial-setup/pages/privacy/gis-privacy-page.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnome-initial-setup/pages/privacy/gis-privacy-page.c b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
index 8c9f47e..48bcd85 100644
--- a/gnome-initial-setup/pages/privacy/gis-privacy-page.c
+++ b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
@@ -144,11 +144,7 @@ gis_privacy_page_dispose (GObject *object)
g_clear_object (&priv->location_settings);
g_clear_object (&priv->privacy_settings);
- if (priv->abrt_watch_id > 0)
- {
- g_bus_unwatch_name (priv->abrt_watch_id);
- priv->abrt_watch_id = 0;
- }
+ g_clear_handle_id (&priv->abrt_watch_id, g_bus_unwatch_name);
G_OBJECT_CLASS (gis_privacy_page_parent_class)->dispose (object);
}