diff options
author | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-11-09 17:02:25 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-11-09 17:02:25 +0800 |
commit | a610cccc0a32d48809301c35341e02822edaa612 (patch) | |
tree | 78ec58031d23e80b9b7d9d02ff95adc9570e7ff2 /mail/e-mail-label-list-store.c | |
parent | 1107fea0f8edff76d5956426044c9afe41c387fa (diff) | |
download | gsoc2013-evolution-a610cccc0a32d48809301c35341e02822edaa612.tar.gz gsoc2013-evolution-a610cccc0a32d48809301c35341e02822edaa612.tar.zst gsoc2013-evolution-a610cccc0a32d48809301c35341e02822edaa612.zip |
Some build fixes
Diffstat (limited to 'mail/e-mail-label-list-store.c')
-rw-r--r-- | mail/e-mail-label-list-store.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/e-mail-label-list-store.c b/mail/e-mail-label-list-store.c index e9f9c4b509..5ceacb02e7 100644 --- a/mail/e-mail-label-list-store.c +++ b/mail/e-mail-label-list-store.c @@ -179,8 +179,8 @@ labels_model_changed_cb (GtkTreeModel *model, gpointer user_data) { EMailLabelListStore *store; - GtkTreeIter iter; GPtrArray *array; + GtkTreeIter tmp_iter; gboolean res; store = E_MAIL_LABEL_LIST_STORE (user_data); @@ -190,15 +190,15 @@ labels_model_changed_cb (GtkTreeModel *model, /* Build list to store in GSettings */ array = g_ptr_array_new (); - res = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &iter); + res = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &tmp_iter); while (res) { gchar *string; - gtk_tree_model_get (GTK_TREE_MODEL (store), &iter, + gtk_tree_model_get (GTK_TREE_MODEL (store), &tmp_iter, 0, &string, -1); g_ptr_array_add (array, string); - res = gtk_tree_model_iter_next (GTK_TREE_MODEL (store), &iter); + res = gtk_tree_model_iter_next (GTK_TREE_MODEL (store), &tmp_iter); } g_ptr_array_add (array, NULL); |