Hi,
I need to get the number of selected objects on the canvas.
I was using the following code:
GSList const *items = selection->itemList();
int selObj = g_slist_length (const_cast<GSList*>(items));
If I comment out the g_slist_length command, there is no runtime error. And Inkscape run's perfect.
In this scenario, what can I do to get the length of the GSList ?
--