g_free(prev);
}
}
- warning_dialog(_("Drag and Drop failed"), msg, GTK_STOCK_DIALOG_WARNING, nullptr);
+ warning_dialog(_("Drag and Drop failed"), msg, GQ_ICON_DIALOG_WARNING, nullptr);
g_free(msg);
}
{
GList *path_list = filelist_to_path_list(list);
gchar **ret = uris_from_pathlist(path_list);
- string_list_free(path_list);
+ g_list_free_full(path_list, g_free);
return ret;
}
{
GList *path_list = uri_pathlist_from_uris(uris, uri_error_list);
GList *filelist = filelist_from_path_list(path_list);
- string_list_free(path_list);
+ g_list_free_full(path_list, g_free);
return filelist;
}
if(errors)
{
warning_dialog_dnd_uri_error(errors);
- string_list_free(errors);
+ g_list_free_full(errors, g_free);
}
g_strfreev(uris);
return ret;