g_value_unset (&value);
}
- g_list_foreach (l, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL);
+ g_list_foreach (l, GFUNC_COMPAT_CAST (gtk_tree_path_free), NULL);
g_list_free (l);
if (acr->update) acr->update (acr->update_data);
gtk_list_store_remove (acr->list_store, &iter);
- g_list_foreach (l, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL);
+ g_list_foreach (l, GFUNC_COMPAT_CAST (gtk_tree_path_free), NULL);
g_list_free (l);
}
result = (l != NULL);
- g_list_foreach (l, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL);
+ g_list_foreach (l, GFUNC_COMPAT_CAST (gtk_tree_path_free), NULL);
g_list_free (l);
return result;