[gnome-control-center] region: Remove useless assignments
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Remove useless assignments
- Date: Wed, 22 Feb 2012 19:41:34 +0000 (UTC)
commit f3a8805d30a0373982856933268e16adb416a121
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 22 15:24:52 2012 +0100
region: Remove useless assignments
panels/region/gnome-region-panel-system.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/region/gnome-region-panel-system.c b/panels/region/gnome-region-panel-system.c
index a4eec30..71a3fd8 100644
--- a/panels/region/gnome-region-panel-system.c
+++ b/panels/region/gnome-region-panel-system.c
@@ -148,13 +148,13 @@ xkb_settings_changed (GSettings *settings,
utf_visible = xkb_layout_description_utf8 (layouts[i]);
if (disp->str[0] != '\0')
- disp = g_string_append (disp, ", ");
- disp = g_string_append (disp, utf_visible ? utf_visible : layouts[i]);
+ g_string_append (disp, ", ");
+ g_string_append (disp, utf_visible ? utf_visible : layouts[i]);
g_free (utf_visible);
if (list->str[0] != '\0')
- list = g_string_append (list, ",");
- list = g_string_append (list, layouts[i]);
+ g_string_append (list, ",");
+ g_string_append (list, layouts[i]);
}
g_strfreev (layouts);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]