gnome-initial-setup/test-day-fixes.patch

30 lines
1.0 KiB
Diff
Raw Normal View History

From 4d54e7a12aaf048146f8c536c2125f4a16865b97 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Wed, 20 Mar 2013 20:24:45 -0400
2013-03-21 01:54:38 +00:00
Subject: [PATCH 1/1] account-page: stop watching realmd when disposed
We don't want any handlers called when the page is freed.
---
gnome-initial-setup/pages/account/gis-account-page.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnome-initial-setup/pages/account/gis-account-page.c b/gnome-initial-setup/pages/account/gis-account-page.c
index c488098..594be4c 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.c
+++ b/gnome-initial-setup/pages/account/gis-account-page.c
@@ -960,6 +960,11 @@ gis_account_page_dispose (GObject *object)
GisAccountPage *page = GIS_ACCOUNT_PAGE (object);
GisAccountPagePrivate *priv = page->priv;
+ if (priv->realmd_watch != 0) {
+ g_bus_unwatch_name (priv->realmd_watch);
+ priv->realmd_watch = 0;
+ }
+
g_clear_object (&priv->act_user);
g_clear_object (&priv->act_client);
g_clear_object (&priv->realm_manager);
--
1.8.1.4