[gnac/devel] Code cleanup
- From: Benoît Dupasquier <bdupasqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnac/devel] Code cleanup
- Date: Sat, 18 Sep 2010 21:02:48 +0000 (UTC)
commit 9fe687a955d1c160496e355df06a6ac708dae4c7
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date: Sat Sep 18 22:02:40 2010 +0100
Code cleanup
src/gnac-file-list.c | 2 +-
src/profiles/gnac-profiles-manager.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnac-file-list.c b/src/gnac-file-list.c
index 4de6181..7531237 100644
--- a/src/gnac-file-list.c
+++ b/src/gnac-file-list.c
@@ -409,7 +409,7 @@ gnac_file_list_get_selected_rows(void)
while (next) {
row_references = g_list_prepend(row_references,
gtk_tree_row_reference_new(model, next->data));
- next = next->next;
+ next = g_list_next(next);
}
row_references = g_list_reverse(row_references);
diff --git a/src/profiles/gnac-profiles-manager.c b/src/profiles/gnac-profiles-manager.c
index 3e17bae..3991e9e 100644
--- a/src/profiles/gnac-profiles-manager.c
+++ b/src/profiles/gnac-profiles-manager.c
@@ -587,7 +587,7 @@ gnac_profiles_mgr_get_selected_rows(void)
while (next) {
row_references = g_list_prepend(row_references,
gtk_tree_row_reference_new(model, next->data));
- next = next->next;
+ next = g_list_next(next);
}
row_references = g_list_reverse(row_references);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]