[gnome-control-center] region: Add weak ref for locale settings
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Add weak ref for locale settings
- Date: Wed, 6 Jul 2011 15:48:33 +0000 (UTC)
commit 4abb6f8a1fc68f1cbe7d0872a1225d90192885da
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Wed Jul 6 17:11:40 2011 +0200
region: Add weak ref for locale settings
panels/region/gnome-region-panel-system.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/region/gnome-region-panel-system.c b/panels/region/gnome-region-panel-system.c
index 326deb9..4ad667f 100644
--- a/panels/region/gnome-region-panel-system.c
+++ b/panels/region/gnome-region-panel-system.c
@@ -70,4 +70,6 @@ setup_system (GtkBuilder *builder)
display_language);
g_free (language);
g_free (display_language);
+
+ g_object_weak_ref (G_OBJECT (builder), (GWeakNotify) g_object_unref, locale_settings);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]