[gnome-initial-setup] language: Don't use is_extra for sorting
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] language: Don't use is_extra for sorting
- Date: Fri, 15 Mar 2013 20:54:58 +0000 (UTC)
commit 2033d41064deea5b26f8b90d7a6d56b3e8dc404c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Mar 15 16:45:21 2013 -0400
language: Don't use is_extra for sorting
.../pages/language/gis-language-page.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gnome-initial-setup/pages/language/gis-language-page.c
b/gnome-initial-setup/pages/language/gis-language-page.c
index d87c49a..6c60ad5 100644
--- a/gnome-initial-setup/pages/language/gis-language-page.c
+++ b/gnome-initial-setup/pages/language/gis-language-page.c
@@ -115,11 +115,7 @@ sort_languages (gconstpointer a,
if (lb == NULL)
return -1;
- if (la->is_extra != lb->is_extra) {
- return la->is_extra - lb->is_extra;
- } else {
- return strcmp (la->locale_name, lb->locale_name);
- }
+ return strcmp (la->locale_name, lb->locale_name);
}
static GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]