Don't use g_slist_next in gtktreemodel.c

We generally use ->next directly.
This commit is contained in:
Matthias Clasen 2015-10-19 20:41:29 -04:00
parent 95c7a539bf
commit 05717fe2df

View File

@ -2073,7 +2073,7 @@ release_row_references (gpointer data)
/* we don't free the reference, users are responsible for that. */
tmp_list = g_slist_next (tmp_list);
tmp_list = tmp_list->next;
}
g_slist_free (refs->list);
@ -2128,7 +2128,7 @@ gtk_tree_row_ref_inserted (RowRefList *refs,
reference->path->indices[path->depth-1] += 1;
}
done:
tmp_list = g_slist_next (tmp_list);
tmp_list = tmp_list->next;
}
}
@ -2187,7 +2187,7 @@ gtk_tree_row_ref_deleted (RowRefList *refs,
}
next:
tmp_list = g_slist_next (tmp_list);
tmp_list = tmp_list->next;
}
}
@ -2236,7 +2236,7 @@ gtk_tree_row_ref_reordered (RowRefList *refs,
}
}
tmp_list = g_slist_next (tmp_list);
tmp_list = tmp_list->next;
}
}