Merge branch 'wip/otte/simplify-liststore-splice' into 'master'

liststore: Simplify code

See merge request GNOME/glib!303
This commit is contained in:
Philip Withnall 2018-09-05 10:38:59 +00:00
commit 574e2c8a99

View File

@ -486,8 +486,7 @@ g_list_store_splice (GListStore *store,
return;
}
it = g_sequence_insert_before (it, g_object_ref (additions[i]));
it = g_sequence_iter_next (it);
g_sequence_insert_before (it, g_object_ref (additions[i]));
}
}