Fix build of version 1.3.0 with llvm
Brought to you by:
orsoni
Hello,
Here is a proposed patch to avoid nested functions and fix build with llvm :
callbacks.c:44:64: error: function definition is not allowed here
void _set_label_selectable(gpointer data, gpointer user_data) {
^
callbacks.c:52:27: error: use of undeclared identifier '_set_label_selectable'; did you mean 'dialog_set_labels_selectable'?
g_list_foreach(children, _set_label_selectable, NULL);
^~~~~~~~~~~~~~~~~~~~~
dialog_set_labels_selectable
Best regards,
Ganael.
committed to svn, many thanks!