summaryrefslogtreecommitdiffstats
path: root/sysutils/gnomecontrolcenter2/files/patch-capplets_gnome-keyboard-properties-xkbot.c
blob: ab7180f75c1719c37a2cce7248f5650762f10ac8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- capplets/keyboard/gnome-keyboard-properties-xkbot.c.orig    Wed Jul 27 13:48:58 2005
+++ capplets/keyboard/gnome-keyboard-properties-xkbot.c Wed Jul 27 13:49:37 2005
@@ -265,11 +265,12 @@
                                          GladeXML * dialog)
 {
   GtkWidget *expander, *align, *vbox;
+  gchar *utfGroupName, *titlemarkup;
 
   GSList * expanders_list = g_object_get_data (G_OBJECT (dialog), EXPANDERS_PROP);
 
-  gchar *utfGroupName = xci_desc_to_utf8 (configItem);
-  gchar *titlemarkup = g_strconcat ("<span>", utfGroupName, "</span>", NULL);
+  utfGroupName = xci_desc_to_utf8 (configItem);
+  titlemarkup = g_strconcat ("<span>", utfGroupName, "</span>", NULL);
 
   expander = gtk_expander_new (titlemarkup);
   g_object_set_data_full (G_OBJECT (expander), "utfGroupName", utfGroupName, g_free);