[gnome-control-center] Fix crash due to g_auto changes in 79e00c3
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Fix crash due to g_auto changes in 79e00c3
- Date: Wed, 20 Jun 2018 04:45:53 +0000 (UTC)
commit 9ae5f9a667f8bc27a1c20338792fc4dfee9c7dbe
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Jun 20 16:44:36 2018 +1200
Fix crash due to g_auto changes in 79e00c3
panels/region/cc-input-chooser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/region/cc-input-chooser.c b/panels/region/cc-input-chooser.c
index 4d766cd50..562f28859 100644
--- a/panels/region/cc-input-chooser.c
+++ b/panels/region/cc-input-chooser.c
@@ -947,7 +947,7 @@ get_locale_infos (GtkWidget *chooser)
continue;
info = g_new0 (LocaleInfo, 1);
- info->id = g_steal_pointer (&simple_locale);
+ info->id = g_strdup (simple_locale);
info->name = gnome_get_language_from_locale (simple_locale, NULL);
info->unaccented_name = cc_util_normalize_casefold_and_unaccent (info->name);
tmp = gnome_get_language_from_locale (simple_locale, "C");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]