mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 13:40:31 +00:00
Don't use g_slist_next in gtktreemodel.c
We generally use ->next directly.
This commit is contained in:
parent
95c7a539bf
commit
05717fe2df
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user