diff options
author | Bastien Nocera <hadess@hadess.net> | 2011-01-24 18:15:03 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2011-01-24 18:20:53 +0000 |
commit | 5dd0a8c47a54531dadebff4cb017bf4d82c74a7d (patch) | |
tree | 5e4269837242bff6a75cbe5cd2dfdc8a46fff7d1 /panels/common | |
parent | 6a3b8be917339c169fa02213386c8ba24db38fd4 (diff) | |
download | gnome-control-center-5dd0a8c47a54531dadebff4cb017bf4d82c74a7d.tar.gz |
user-accounts: Move um_get_iter_for_language to common/
More sharing
Diffstat (limited to 'panels/common')
-rw-r--r-- | panels/common/cc-common-language.c | 8 | ||||
-rw-r--r-- | panels/common/cc-common-language.h | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/panels/common/cc-common-language.c b/panels/common/cc-common-language.c index a78c1d7cc..dcc71d552 100644 --- a/panels/common/cc-common-language.c +++ b/panels/common/cc-common-language.c @@ -106,11 +106,10 @@ cc_common_language_sort_languages (GtkTreeModel *model, return result; } -#if 0 gboolean -um_get_iter_for_language (GtkTreeModel *model, - const gchar *lang, - GtkTreeIter *iter) +cc_common_language_get_iter_for_language (GtkTreeModel *model, + const gchar *lang, + GtkTreeIter *iter) { char *l; char *name; @@ -140,6 +139,7 @@ um_get_iter_for_language (GtkTreeModel *model, return FALSE; } +#if 0 static void row_activated (GtkTreeView *tree_view, GtkTreePath *path, diff --git a/panels/common/cc-common-language.h b/panels/common/cc-common-language.h index 435182603..0342e62b2 100644 --- a/panels/common/cc-common-language.h +++ b/panels/common/cc-common-language.h @@ -29,9 +29,6 @@ G_BEGIN_DECLS #if 0 void um_add_user_languages (GtkTreeModel *model); gchar *um_get_current_language (void); -gboolean um_get_iter_for_language (GtkTreeModel *model, - const gchar *lang, - GtkTreeIter *iter); GtkWidget *um_language_chooser_new (void); gchar *um_language_chooser_get_language (GtkWidget *chooser); @@ -41,6 +38,10 @@ gint cc_common_language_sort_languages (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data); +gboolean cc_common_language_get_iter_for_language (GtkTreeModel *model, + const gchar *lang, + GtkTreeIter *iter); + G_END_DECLS |