On line 402 of src/gio/DesktopAppInfo.d :
public string[] listActions()
{
// const gchar * const * g_desktop_app_info_list_actions (GDesktopAppInfo *info);
auto p = g_desktop_app_info_list_actions(gDesktopAppInfo);
string[] strArray = null;
foreach ( cstr; p[0 .. ] )
{
strArray ~= Str.toString(cstr);
}
return strArray;
}
The foreach
part with p[0..]
doesn't compile. Could we use Str.toStringArray instead? Though it looks like that function limits you to ten strings from a gchar**
.