GNOME Bugzilla – Bug 626258
N-ary Trees - 'nodes' can be inserted before and after - 'data', only before
Last modified: 2012-01-25 04:41:37 UTC
In the API for N-ary trees, methods are provided to insert a GNode at a position, or before or after another GNode. (g_node_insert, g_node_insert_before, g_node_insert_after). If one wishes to insert data without creating the GNode directly, the available methods are g_node_data_insert and g_node_insert_data_before; no "...after". Consistency would suggest it should be provided. Should it?
I guess, yeah. Consistency would suggest so...
Created attachment 205765 [details] [review] inserts a new #GNode after the given sibling please review the patch.
Review of attachment 205765 [details] [review]: The patch looks fine, thanks
The following fix has been pushed: e9725d1 Macro to insert a new GNode "after" the given sibling.
Created attachment 206053 [details] [review] Macro to insert a new GNode "after" the given sibling. https://bugzilla.gnome.org/show_bug.cgi?id=626258 Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>